]> diplodocus.org Git - nmh/commitdiff
Replace `(char *)0' et al with `NULL'.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 22:27:13 +0000 (23:27 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 22:27:13 +0000 (23:27 +0100)
None of them are vararg parameters.

uip/rmf.c

index f6cb4e8..3177474 100644 (file)
--- a/uip/rmf.c
+++ b/uip/rmf.c
@@ -154,7 +154,7 @@ rmf (char *folder)
      * Run the external delete hook program.
      */
 
-    (void)ext_hook("del-hook", maildir, (char *)0);
+    (void)ext_hook("del-hook", maildir, NULL);
 
     j = strlen(BACKUP_PREFIX);
     while ((dp = readdir (dd))) {