added support of the -l option (log-file)
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 3 Jul 2012 05:52:57 +0000 (05:52 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 3 Jul 2012 05:52:57 +0000 (05:52 +0000)
src/server/server.c

index 25e4d27..cb0dc77 100644 (file)
@@ -329,7 +329,7 @@ int main(int argc, char *argv[])
        log_file = NULL;
 
        while ((optc = getopt_long(argc, argv,
-                                  "vhp:w:d:", long_options, NULL)) != -1) {
+                                  "vhp:w:d:l:", long_options, NULL)) != -1) {
                switch (optc) {
                case 'w':
                        if (optarg)