Skip to content
Snippets Groups Projects
Commit 27294966 authored by rswindell's avatar rswindell
Browse files

Log error if msgbase.save_msg() fails.

parent c467b467
No related branches found
No related tags found
No related merge requests found
......@@ -165,9 +165,12 @@ for(i in area) {
hdr.from_net_type = NET_INTERNET;
/* Copy to message base */
mailbase.save_msg(hdr,body);
if(mailbase.save_msg(hdr,body)) {
printf("Exported message %lu to list server: %s\r\n",ptr,listserv);
exported++;
} else
printf("ERROR %s exporting message %lu to list server: %s\r\n"
,msgbase.error, ptr, listserv);
}
}
if(ptr > msgbase.last_msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment