fetchmail-friends
[Top] [All Lists]

[fetchmail]Non-portable code in smtp.c RE: [fetchmail-announce] The 5.9.11 release of fetchmail is available

2002-04-01 23:03:49
Do not do it please. The world does not end on GCC.

-andrej

--- fetchmail-5.9.11/smtp.c.orig        Mon Apr  1 23:21:09 2002
+++ fetchmail-5.9.11/smtp.c     Tue Apr  2 10:00:19 2002
@@ -57,17 +57,17 @@
   return ok;
 }
 
+static void SMTP_auth_error(int sock, char *msg)
+{
+       SockPrintf(sock, "*\r\n");
+       SockRead(sock, smtp_response, sizeof(smtp_response) - 1);
+       if (outlevel >= O_MONITOR) report(stdout, msg);
+}
+
 static void SMTP_auth(int sock, char *username, char *password, char
*buf)
 /* ESMTP Authentication support for fetchmail by Wojciech Polak */
 {
 
-       static void SMTP_auth_error(int sock, char *msg)
-       {
-               SockPrintf(sock, "*\r\n");
-               SockRead(sock, smtp_response, sizeof(smtp_response) -
1);
-               if (outlevel >= O_MONITOR) report(stdout, msg);
-       }
-
        int c;
        char *p = 0;
        char b64buf[512];


<Prev in Thread] Current Thread [Next in Thread>