From eade8feb05d5194312ae4b1636bbf671869b1fbb Mon Sep 17 00:00:00 2001 From: jeg139 <54814784+jeg139@users.noreply.github.com> Date: Sat, 23 Nov 2019 12:07:19 +0100 Subject: fix some whitespace and indentation (#194) --- sshfs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sshfs.c') diff --git a/sshfs.c b/sshfs.c index 17e90fe..45f3e99 100644 --- a/sshfs.c +++ b/sshfs.c @@ -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 @@ -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 { @@ -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; } } @@ -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; } } -- cgit v1.2.3