OSSP CVS Repository

ossp - Check-in [752]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 752
Date: 2001-Aug-23 11:00:22 (local)
2001-Aug-23 09:00:22 (UTC)
User:rse
Branch:
Comment: Ops, no assignment! A comparison, of course.
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/nntp.c      1.13 -> 1.14     2 inserted, 2 deleted

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