]> git.marmaro.de Git - mmh/blobdiff - uip/dp.c
Changed some string terminations from NULL to \0.
[mmh] / uip / dp.c
index 0041198a095a1e29740f766ab454b9a8252f162d..ab441418b1f565608fa1294fd367e7db88cb13e3 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -26,7 +26,7 @@ static struct swit switches[] = {
 #define VERSIONSW             3
     { "version", 0 },
 #define        HELPSW                4
-    { "help", 4 },
+    { "help", 0 },
     { NULL, 0 }
 };
 
@@ -132,7 +132,7 @@ main (int argc, char **argv)
        status += process (dates[datep], width);
 
     context_save ();   /* save the context file */
-    done (status);
+    return done (status);
 }