]> git.marmaro.de Git - mmh/blobdiff - uip/burst.c
We have `NULL' in order to not need to write `(char *)0' anymore.
[mmh] / uip / burst.c
index fc2f7111773fb3f4519a8b253c1ec439553bf8f6..0e7c53a3fc1da80f54c25ca58193d8a20ccc36a1 100644 (file)
@@ -364,13 +364,13 @@ burst(struct msgs **mpp, int msgnum, struct smsg *smsgs, int numburst,
                                admonish(f3, "unable to rename %s to", f1);
 
                        snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
-                       ext_hook("del-hook", f3, (char *)0);
+                       ext_hook("del-hook", f3, NULL);
                }
                if (rename(f2, f1) == NOTOK)
                        admonish(f1, "unable to rename %s to", f2);
 
                snprintf(f3, sizeof (f3), "%s/%d", maildir, i);
-               ext_hook("add-hook", f3, (char *)0);
+               ext_hook("add-hook", f3, NULL);
 
                copy_msg_flags(mp, i, msgnum);
                mp->msgflags |= SEQMOD;