Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > b2b31f8f12ce25fb0a2128354ea26724 > files > 67

cups-1.3.7-30.el5.src.rpm

diff -up cups-1.3.7/notifier/mailto.c.str3609 cups-1.3.7/notifier/mailto.c
--- cups-1.3.7/notifier/mailto.c.str3609	2010-07-13 18:11:36.000000000 +0200
+++ cups-1.3.7/notifier/mailto.c	2010-07-13 18:38:36.000000000 +0200
@@ -369,8 +369,10 @@ email_message(const char *to,		/* I - Re
     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);