]> andersk Git - gssapi-openssh.git/blobdiff - openssh/packet.c
Merged hpn13v5 to trunk.
[gssapi-openssh.git] / openssh / packet.c
index 9f1d8246a09ca96733f99a1ca1df22d01d184677..695a0b35a0d93752bf64ef4a9a4e65cf9207a507 100644 (file)
@@ -1499,7 +1499,7 @@ packet_write_poll(void)
                if (len == -1) {
                        if (errno == EINTR || errno == EAGAIN ||
                            errno == EWOULDBLOCK)
-                               return;
+                               return (0);
                        fatal("Write failed: %.100s", strerror(errno));
                }
                if (len == 0)
@@ -1519,9 +1519,9 @@ int
 packet_write_wait(void)
 {
        fd_set *setp;
-       u_int bytes_sent = 0;
        int ret, ms_remain;
        struct timeval start, timeout, *timeoutp = NULL;
+       u_int bytes_sent = 0;
 
        setp = (fd_set *)xcalloc(howmany(connection_out + 1, NFDBITS),
            sizeof(fd_mask));
This page took 0.034428 seconds and 4 git commands to generate.