Skip to content

Commit eade8fe

Browse files
jeg139Nikratio
authored andcommitted
fix some whitespace and indentation (#194)
1 parent 4d86652 commit eade8fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sshfs.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@
5454
#include "cache.h"
5555

5656
#ifndef MAP_LOCKED
57-
#define MAP_LOCKED 0
57+
# define MAP_LOCKED 0
5858
#endif
5959

6060
#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
61-
#define MAP_ANONYMOUS MAP_ANON
61+
# define MAP_ANONYMOUS MAP_ANON
6262
#endif
6363

6464

@@ -139,7 +139,7 @@
139139
#define MAX_PASSWORD 1024
140140

141141
#ifdef __APPLE__
142-
static char sshfs_program_path[PATH_MAX] = { 0 };
142+
static char sshfs_program_path[PATH_MAX] = { 0 };
143143
#endif /* __APPLE__ */
144144

145145
struct buffer {
@@ -2941,7 +2941,7 @@ static void sshfs_write_end(struct request *req)
29412941
if (req->reply_type != SSH_FXP_STATUS) {
29422942
fprintf(stderr, "protocol error\n");
29432943
} else if (buf_get_uint32(&req->reply, &serr) != -1 &&
2944-
serr != SSH_FX_OK) {
2944+
serr != SSH_FX_OK) {
29452945
sf->write_error = -EIO;
29462946
}
29472947
}
@@ -2997,7 +2997,7 @@ static void sshfs_sync_write_end(struct request *req)
29972997
if (req->reply_type != SSH_FXP_STATUS) {
29982998
fprintf(stderr, "protocol error\n");
29992999
} else if (buf_get_uint32(&req->reply, &serr) != -1 &&
3000-
serr != SSH_FX_OK) {
3000+
serr != SSH_FX_OK) {
30013001
sio->error = -EIO;
30023002
}
30033003
}

0 commit comments

Comments
 (0)