From 3c14fc28cd359d9aa2b708d6453c7f8542a1f7bc Mon Sep 17 00:00:00 2001 From: Radim Kolar Date: Mon, 8 Jul 2024 09:09:54 +0200 Subject: [PATCH] chore: pretty source --- include/server_def.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/include/server_def.h b/include/server_def.h index 52938b0..f995ed2 100644 --- a/include/server_def.h +++ b/include/server_def.h @@ -50,9 +50,9 @@ typedef struct { unsigned int f_len; /* length of last component in path */ const char *d_ptr; /* ptr to beginning of directory component */ unsigned int d_len; /* length of directory part of path. */ - const char *passwd; /* ptr to password */ - char inetstr[16]; /* inet-address of remote-FSP */ - char portstr[8]; /* port of remote-FSP */ + const char *passwd; /* ptr to password */ + char inetstr[16]; /* inet-address of remote-FSP */ + char portstr[8]; /* port of remote-FSP */ } PPATH; /* open file handles cache */ @@ -64,8 +64,8 @@ typedef struct { FILE *fp; /* DIRLISTING holds open directory listings */ typedef struct { int8_t *listing; /* pointer to directory listing */ - size_t listing_size; /* how many bytes has listing? */ - time_t mtime; /* when cache was build */ + size_t listing_size; /* how many bytes has listing? */ + time_t mtime; /* when cache was build */ } DIRLISTING; /* hold directory information */ @@ -105,8 +105,9 @@ typedef struct { #define L_RENAME 0x4000 #define L_ALL 0xffff -/* cache directory listing */ +/* directory listing cache file */ #define FSP_DIRLISTING ".FSP_CONTENT" + /* file names used for access control */ #define FSP_NOGET ".FSP_NO_GET" #define FSP_DEL ".FSP_OK_DEL"