cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/socket-client.c


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/src/socket-client.c
Date: Sat, 24 Sep 2005 20:31:52 -0400

Index: ccvs/src/socket-client.c
diff -u ccvs/src/socket-client.c:1.18 ccvs/src/socket-client.c:1.19
--- ccvs/src/socket-client.c:1.18       Sun Sep 25 00:28:51 2005
+++ ccvs/src/socket-client.c    Sun Sep 25 00:31:51 2005
@@ -126,14 +126,14 @@
     /* See comment in socket_buffer_input regarding buffer size we pass
        to send and recv.  */
 
-#ifdef SEND_NEVER_PARTIAL
+# ifdef SEND_NEVER_PARTIAL
     /* If send() never will produce a partial write, then just do it.  This
        is needed for systems where its return value is something other than
        the number of bytes written.  */
     if (send (sb->socket, data, have, 0) < 0)
        error (1, 0, "writing to server socket: %s",
               SOCK_STRERROR (SOCK_ERRNO));
-#else
+# else
     while (have > 0)
     {
        int nbytes;
@@ -146,7 +146,7 @@
        have -= nbytes;
        data += nbytes;
     }
-#endif
+# endif
 
     return 0;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]