Fixed errormessage for dupe mail
This commit is contained in:
parent
ff3deb5d20
commit
aeaef6f0da
@ -2,7 +2,7 @@
|
|||||||
*
|
*
|
||||||
* File ..................: mbfido/postecho.c
|
* File ..................: mbfido/postecho.c
|
||||||
* Purpose ...............: Post echomail message.
|
* Purpose ...............: Post echomail message.
|
||||||
* Last modification date : 29-Aug-2001
|
* Last modification date : 01-Sep-2001
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -499,11 +499,12 @@ int postecho(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj,
|
|||||||
/*
|
/*
|
||||||
* Import this echomail, even if it's bad or a dupe.
|
* Import this echomail, even if it's bad or a dupe.
|
||||||
*/
|
*/
|
||||||
if (storeecho(f, t, mdate, flags, subj, msgid, reply, bad, dupe, nfp) || bad || dupe) {
|
if ((rc = storeecho(f, t, mdate, flags, subj, msgid, reply, bad, dupe, nfp)) || bad || dupe) {
|
||||||
/*
|
/*
|
||||||
* Store failed or it was bad or a dupe.
|
* Store failed or it was bad or a dupe. Only log failed store.
|
||||||
*/
|
*/
|
||||||
WriteError("Store echomail in JAM base failed");
|
if (rc)
|
||||||
|
WriteError("Store echomail in JAM base failed");
|
||||||
tidy_falist(&sbl);
|
tidy_falist(&sbl);
|
||||||
tidy_falist(&ptl);
|
tidy_falist(&ptl);
|
||||||
tidy_qualify(&qal);
|
tidy_qualify(&qal);
|
||||||
@ -512,7 +513,7 @@ int postecho(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj,
|
|||||||
free(msgid);
|
free(msgid);
|
||||||
if (reply)
|
if (reply)
|
||||||
free(reply);
|
free(reply);
|
||||||
return 0;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user