Skip to content

Commit

Permalink
fix some whitespace and indentation (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeg139 authored and Nikratio committed Nov 23, 2019
1 parent 4d86652 commit eade8fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sshfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@
#include "cache.h"

#ifndef MAP_LOCKED
#define MAP_LOCKED 0
# define MAP_LOCKED 0
#endif

#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
#define MAP_ANONYMOUS MAP_ANON
# define MAP_ANONYMOUS MAP_ANON
#endif


Expand Down Expand Up @@ -139,7 +139,7 @@
#define MAX_PASSWORD 1024

#ifdef __APPLE__
static char sshfs_program_path[PATH_MAX] = { 0 };
static char sshfs_program_path[PATH_MAX] = { 0 };
#endif /* __APPLE__ */

struct buffer {
Expand Down Expand Up @@ -2941,7 +2941,7 @@ static void sshfs_write_end(struct request *req)
if (req->reply_type != SSH_FXP_STATUS) {
fprintf(stderr, "protocol error\n");
} else if (buf_get_uint32(&req->reply, &serr) != -1 &&
serr != SSH_FX_OK) {
serr != SSH_FX_OK) {
sf->write_error = -EIO;
}
}
Expand Down Expand Up @@ -2997,7 +2997,7 @@ static void sshfs_sync_write_end(struct request *req)
if (req->reply_type != SSH_FXP_STATUS) {
fprintf(stderr, "protocol error\n");
} else if (buf_get_uint32(&req->reply, &serr) != -1 &&
serr != SSH_FX_OK) {
serr != SSH_FX_OK) {
sio->error = -EIO;
}
}
Expand Down

0 comments on commit eade8fe

Please sign in to comment.