X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffolder_addmsg.c;h=69083cc862946c76a19ae5181e9c2445a6cade0d;hb=39e87a75b5c2d3572ec72e717720b44af291e88a;hp=391f5c8166b954ef15472ed92fd9a45dd9fcd308;hpb=246ca516a0f7b870316116bc184347b0fb2bc00b;p=mmh diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index 391f5c8..69083cc 100644 --- a/sbr/folder_addmsg.c +++ b/sbr/folder_addmsg.c @@ -136,17 +136,12 @@ 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 { linkerr = errno; -#ifdef EISREMOTE - if (linkerr == EISREMOTE) - linkerr = EXDEV; -#endif /* EISREMOTE */ - /* ** Check if the file in our desired location is ** the same as the source file. If so, then just @@ -195,7 +190,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; }