** old message file is around for the hook.
*/
- (void)snprintf(oldmsg, sizeof (oldmsg), "%s/%d", mp->foldpath, msgnum);
- (void)snprintf(newmsg, sizeof (newmsg), "%s/%d", mp->foldpath, hole);
+ snprintf(oldmsg, sizeof (oldmsg), "%s/%d",
+ mp->foldpath, msgnum);
+ snprintf(newmsg, sizeof (newmsg), "%s/%d",
+ mp->foldpath, hole);
ext_hook("ref-hook", oldmsg, newmsg);
/* move the message file */
mp->lowmsg = 1;
mp->hghmsg = hole - 1;
- /* update the "cur" sequence */
- if (newcurrent != 0)
+ if (newcurrent)
seq_setcur(mp, newcurrent);
return 0;