]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - notifier/mailto.c
Merge changes from CUPS 1.5svn-r9198.
[thirdparty/cups.git] / notifier / mailto.c
index 0c9b8a6fd09326919929d49a109d65e74d24b3c4..8a2d2d386e3ea8a98447ae92af3f04ab8c2d8482 100644 (file)
@@ -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);