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

sbr/folder_delmsgs.c

index 4f9a3000700608f8358b08aa048b7956218dadf1..94aa29ce0fadfa526beadae9e5cb79e97e686e4b 100644 (file)
@@ -103,7 +103,7 @@ folder_delmsgs (struct msgs *mp, int unlink_msgs, int nohook)
 
            if (!nohook) {
                    (void)snprintf(msgpath, sizeof (msgpath), "%s/%d", mp->foldpath, msgnum);
-                   (void)ext_hook("del-hook", msgpath, (char *)0);
+                   (void)ext_hook("del-hook", msgpath, NULL);
                }
 
            dp = m_name (msgnum);