]> git.armaanb.net Git - opendoas.git/blobdiff - insults.c
Handle empty argv
[opendoas.git] / insults.c
index 6c71ea29fc967a43a2bd2ad40d2c74ee1765315d..045b41c3f1186950149fb881dfeeb9b38533293b 100644 (file)
--- a/insults.c
+++ b/insults.c
@@ -1,15 +1,12 @@
 #include <stdlib.h>
 #include <time.h>
 
-#include "config.h"
-
 char *insults[] = {
-
     /*
-     * These insults were stolen from the Sudo project.
-     * The copyright header on those files states:
+     * These insults were mostly stolen from the Sudo project. The copyright
+     * header on those files states:
      *     ISC license
-     *     Copyright (c) 1996-2018Todd C. Miller <Todd.Miller@sudo.ws>
+     *     Copyright (c) 1996-2018 Todd C. Miller <Todd.Miller@sudo.ws>
      */
 
     "Just what do you think you're doing Dave?",
@@ -73,15 +70,9 @@ char *insults[] = {
     "This man, he doesn't know when he's beaten! He doesn't know when he's winning, either. He has no... sort of... sensory apparatus...",
     "There's nothing wrong with you that an expensive operation can't prolong.",
     "I'm very sorry, but I'm not allowed to argue unless you've paid.",
-
-#ifdef DOAS_INSULTS_KISS
-    /*
-     * Insults from the KISS Linux community
-     */
-
-    "",
-
-#endif
+    "You are being naughty this year.",
+    "A new shipment of coal is on it's way.",
+    "Santa is not amused",
 };
 
 const char *