OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp.c versions 1.92 and 1.93
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.92 -> 1.93

--- 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);
             }
         }

CVSTrac 2.0.1