Properly indent some lines.
authorWayne Davison <wayned@samba.org>
Fri, 20 Feb 2009 07:09:20 +0000 (23:09 -0800)
committerWayne Davison <wayned@samba.org>
Fri, 20 Feb 2009 07:09:20 +0000 (23:09 -0800)
clientserver.c

index 49238b1..b6afe00 100644 (file)
@@ -387,16 +387,16 @@ static int read_arg_from_pipe(int fd, char *buf, int limit)
        char *bp = buf, *eob = buf + limit - 1;
 
        while (1) {
-           int got = read(fd, bp, 1);
-           if (got != 1) {
-               if (got < 0 && errno == EINTR)
-                       continue;
-               return -1;
-           }
-           if (*bp == '\0')
-               break;
-           if (bp < eob)
-               bp++;
+               int got = read(fd, bp, 1);
+               if (got != 1) {
+                       if (got < 0 && errno == EINTR)
+                               continue;
+                       return -1;
+               }
+               if (*bp == '\0')
+                       break;
+               if (bp < eob)
+                       bp++;
        }
        *bp = '\0';