We have `NULL' in order to not need to write `(char *)0' anymore.
[mmh] / sbr / folder_delmsgs.c
index e9257bd..4950330 100644 (file)
@@ -94,7 +94,7 @@ folder_delmsgs(struct msgs *mp, int unlink_msgs, int nohook)
                        if (!nohook) {
                                snprintf(msgpath, sizeof (msgpath), "%s/%d",
                                                mp->foldpath, msgnum);
-                               ext_hook("del-hook", msgpath, (char *)0);
+                               ext_hook("del-hook", msgpath, NULL);
                        }
 
                        dp = m_name(msgnum);