[Box Backup-commit] COMMIT r1725 - box/chris/general/lib/server
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Thu Jul 5 20:29:37 BST 2007
Author: chris
Date: 2007-07-05 20:29:37 +0100 (Thu, 05 Jul 2007)
New Revision: 1725
Modified:
box/chris/general/lib/server/Daemon.cpp
Log:
Use a signed int instead of char for getopt, thanks Martin. (merges [1724])
Modified: box/chris/general/lib/server/Daemon.cpp
===================================================================
--- box/chris/general/lib/server/Daemon.cpp 2007-07-05 19:28:31 UTC (rev 1724)
+++ box/chris/general/lib/server/Daemon.cpp 2007-07-05 19:29:37 UTC (rev 1725)
@@ -109,7 +109,7 @@
int masterLevel = Log::INFO; // need an int to do math with
#endif
- signed char c;
+ signed int c;
optind = 0; // just in case anybody used getopt before
while((c = getopt(argc, (char * const *)argv, "c:DqvVt:Tk")) != -1)
More information about the Boxbackup-commit
mailing list