diff options
Diffstat (limited to 'webfsd.c')
-rw-r--r-- | webfsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -189,7 +189,7 @@ fix_ug(void) { struct passwd *pw = NULL; struct group *gr = NULL; - + /* root is allowed to use any uid/gid, * others will get their real uid/gid */ if (0 == getuid() && strlen(user) > 0) { @@ -698,7 +698,7 @@ main(int argc, char *argv[]) if (res->ai_canonname) strcpy(server_host,res->ai_canonname); } - + /* parse options */ for (;;) { if (-1 == (c = getopt(argc,argv,"hvsdF46jS" @@ -841,7 +841,7 @@ main(int argc, char *argv[]) xperror(LOG_ERR,"socket (ipv6)",NULL); } } - + /* ... failing that try ipv4 */ if (-1 == slisten && v4) { ask.ai_family = PF_INET; |