X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/910f3846bb30636fe25bdc6e06e72d50c6779bd9..5cd118faad19dea7a13c2f11f1d078a2fd3cfce4:/uip/ftpsbr.c?ds=inline diff --git a/uip/ftpsbr.c b/uip/ftpsbr.c index 671a533d..5b079ba2 100644 --- a/uip/ftpsbr.c +++ b/uip/ftpsbr.c @@ -3,6 +3,10 @@ * ftpsbr.c -- simple FTP client library * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include @@ -29,7 +33,7 @@ extern int v_verbose; #include #include -#if defined(BIND) && !defined(h_addr) +#if !defined(h_addr) # define h_addr h_addr_list[0] #endif @@ -471,7 +475,7 @@ getreply (int complete, int expecteof) bp = buffer; for (;;) { - char c; + unsigned char c; if (read_tcp_socket (ftp_fd, &c, 1) < 1) { if (expecteof)