summaryrefslogtreecommitdiff
path: root/notifier/mailto.c
diff options
context:
space:
mode:
Diffstat (limited to 'notifier/mailto.c')
-rw-r--r--notifier/mailto.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/notifier/mailto.c b/notifier/mailto.c
index 0c9b8a6fd..8a2d2d386 100644
--- a/notifier/mailto.c
+++ b/notifier/mailto.c
@@ -368,8 +368,10 @@ email_message(const char *to, /* I - Recipient of message */
fputs("DEBUG: QUIT\n", stderr);
if (!cupsFileGets(fp, response, sizeof(response)) || atoi(response) >= 500)
- goto smtp_error;
- fprintf(stderr, "DEBUG: <<< %s\n", response);
+ fprintf(stderr, "ERROR: Got \"%s\" trying to QUIT connection.\n",
+ response);
+ else
+ fprintf(stderr, "DEBUG: <<< %s\n", response);
cupsFileClose(fp);