X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fburst.c;h=0e7c53a3fc1da80f54c25ca58193d8a20ccc36a1;hb=363190329760d38060e89956206583831b0d084d;hp=b5414ad62914df7719586005cf756e1de4561f7e;hpb=d39e2c447b0d163a5a63f480b23d06edb7a73aa0;p=mmh diff --git a/uip/burst.c b/uip/burst.c index b5414ad..0e7c53a 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -162,7 +162,7 @@ main(int argc, char **argv) } free((char *) smsgs); - context_replace(pfolder, folder); /* update current folder */ + context_replace(curfolder, folder); /* update current folder */ /* ** If -inplace is given, then the first message burst becomes @@ -363,14 +363,14 @@ burst(struct msgs **mpp, int msgnum, struct smsg *smsgs, int numburst, if (rename(f1, f3) == NOTOK) admonish(f3, "unable to rename %s to", f1); - (void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i); - ext_hook("del-hook", f3, (char *)0); + snprintf(f3, sizeof (f3), "%s/%d", maildir, i); + ext_hook("del-hook", f3, NULL); } if (rename(f2, f1) == NOTOK) admonish(f1, "unable to rename %s to", f2); - (void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i); - ext_hook("add-hook", f3, (char *)0); + snprintf(f3, sizeof (f3), "%s/%d", maildir, i); + ext_hook("add-hook", f3, NULL); copy_msg_flags(mp, i, msgnum); mp->msgflags |= SEQMOD;