We have `NULL' in order to not need to write `(char *)0' anymore.
[mmh] / sbr / folder_addmsg.c
index 391f5c8..7a4a982 100644 (file)
@@ -136,7 +136,7 @@ folder_addmsg(struct msgs **mpp, char *msgfile, int selected,
                                                from_dir, msgfile);
                                ext_hook("ref-hook", oldmsg, newmsg);
                        } else
-                               ext_hook("add-hook", newmsg, (char *)0);
+                               ext_hook("add-hook", newmsg, NULL);
 
                        return msgnum;
                } else {
@@ -195,7 +195,7 @@ folder_addmsg(struct msgs **mpp, char *msgfile, int selected,
                                                                msgfile);
                                                ext_hook("ref-hook", oldmsg, newmsg);
                                        } else
-                                               ext_hook("add-hook", newmsg, (char *)0);
+                                               ext_hook("add-hook", newmsg, NULL);
 
                                        return msgnum;
                                }