]> git.marmaro.de Git - mmh/blobdiff - sbr/folder_delmsgs.c
Removed references to unused default procs and commented config/config.c
[mmh] / sbr / folder_delmsgs.c
index ac93068d4313e6f8f54b790bc68e6cf6b43ec53e..4950330a115d27309764785c8182ab5e1e3d35a7 100644 (file)
@@ -92,8 +92,9 @@ 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);
+                               snprintf(msgpath, sizeof (msgpath), "%s/%d",
+                                               mp->foldpath, msgnum);
+                               ext_hook("del-hook", msgpath, NULL);
                        }
 
                        dp = m_name(msgnum);