--- lmtp2nntp.c 2001/10/15 11:26:15 1.92
+++ lmtp2nntp.c 2001/10/15 12:48:57 1.93
@@ -2163,7 +2163,9 @@
argz_add(&azErr, &asErr, errorstring);
for (i = 0; i < ctx->nsc; i++) {
if (ctx->ns[i].rc != NNTP_OK) {
- str_format(errorstring, sizeof(errorstring), "%s:%s returned %s", ctx->ns[i].h, ctx->ns[i].p, nntp_error(ctx->ns[i].rc));
+ str_format(errorstring, sizeof(errorstring),
+ "%s:%s returned %s\nwith last response \"%s\"",
+ ctx->ns[i].h, ctx->ns[i].p, nntp_error(ctx->ns[i].rc), nntp_lastresp(ctx->ns[i].nntp));
argz_add(&azErr, &asErr, errorstring);
}
}
|