summaryrefslogtreecommitdiff
path: root/lib/server
diff options
context:
space:
mode:
Diffstat (limited to 'lib/server')
-rw-r--r--lib/server/Daemon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp
index 9ff270a9..8b1a1786 100644
--- a/lib/server/Daemon.cpp
+++ b/lib/server/Daemon.cpp
@@ -115,9 +115,9 @@ int Daemon::Main(const char *DefaultConfigFile, int argc, const char *argv[])
// unfortunately glibc and BSD differ on this point!
// http://www.ussg.iu.edu/hypermail/linux/kernel/0305.3/0262.html
#ifdef __GLIBC__
- optind = 1;
- #else
optind = 0;
+ #else
+ optind = 1;
optreset = 1;
#endif