Code

ntpd branch: Fixed misspelled variable name in common.h.
authorocto <octo>
Mon, 29 May 2006 13:41:20 +0000 (13:41 +0000)
committerocto <octo>
Mon, 29 May 2006 13:41:20 +0000 (13:41 +0000)
src/common.c

index 138b7678cf3767fc7c3a6f551e86842ac3176b84..98e670443810b844a9dcc2f47615fc23921556a9 100644 (file)
@@ -161,7 +161,7 @@ ssize_t swrite (int fd, const void *buf, size_t count)
        ssize_t     status;
 
        ptr   = (const char *) buf;
-       nleft = buflen;
+       nleft = count;
 
        while (nleft > 0)
        {