]> git.marmaro.de Git - mmh/blobdiff - sbr/folder_addmsg.c
We have `NULL' in order to not need to write `(char *)0' anymore.
[mmh] / sbr / folder_addmsg.c
index 391f5c8166b954ef15472ed92fd9a45dd9fcd308..7a4a982692efddf83c9a9ee9c28b26554420f01a 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;
                                }