[Box Backup-commit] COMMIT r1735 - box/chris/general/lib/server
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Thu, 26 Jul 2007 22:33:04 +0100
Author: chris
Date: 2007-07-26 22:33:04 +0100 (Thu, 26 Jul 2007)
New Revision: 1735
Modified:
box/chris/general/lib/server/Daemon.cpp
Log:
Get it right this time. (refs #3, merges [1696])
Modified: box/chris/general/lib/server/Daemon.cpp
===================================================================
--- box/chris/general/lib/server/Daemon.cpp 2007-07-26 21:32:33 UTC (rev 1734)
+++ box/chris/general/lib/server/Daemon.cpp 2007-07-26 21:33:04 UTC (rev 1735)
@@ -115,9 +115,9 @@
// unfortunately glibc and BSD differ on this point!
// http://www.ussg.iu.edu/hypermail/linux/kernel/0305.3/0262.html
#ifdef __GLIBC__
+ optind = 0;
+ #else
optind = 1;
- #else
- optind = 0;
optreset = 1;
#endif