projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code cosmetics
[mmh]
/
sbr
/
folder_delmsgs.c
diff --git
a/sbr/folder_delmsgs.c
b/sbr/folder_delmsgs.c
index
77131b1
..
4950330
100644
(file)
--- a/
sbr/folder_delmsgs.c
+++ b/
sbr/folder_delmsgs.c
@@
-54,7
+54,7
@@
folder_delmsgs(struct msgs *mp, int unlink_msgs, int nohook)
vec[vecp] = NULL;
fflush(stdout);
vec[vecp] = NULL;
fflush(stdout);
- vec[0] = r1bindex(rmmproc, '/');
+ vec[0] = mhbasename(rmmproc);
switch (pid = vfork()) {
case -1:
switch (pid = vfork()) {
case -1:
@@
-92,8
+92,9
@@
folder_delmsgs(struct msgs *mp, int unlink_msgs, int nohook)
*/
if (!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);
}
dp = m_name(msgnum);