OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/nntp.c 1.13 -> 1.14

--- nntp.c       2001/08/23 08:36:16     1.13
+++ nntp.c       2001/08/23 09:00:22     1.14
@@ -329,7 +329,7 @@
 
     do {
         rc = nntp->io.write(nntp->wfd, msg->cpMsg, strlen(msg->cpMsg));
-    } while (rc == -1 && errno = EINTR);
+    } while (rc == -1 && errno == EINTR);
     if (rc == -1)
         return NNTP_ERR_SYSTEM;
 
@@ -406,7 +406,7 @@
 
     do {
         rc = nntp->io.write(nntp->wfd, msg->cpMsg, strlen(msg->cpMsg));
-    } while (rc == -1 && errno = EINTR);
+    } while (rc == -1 && errno == EINTR);
     if (rc == -1)
         return NNTP_ERR_SYSTEM;
 

CVSTrac 2.0.1