X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fftpsbr.c;h=5b079ba2bf5833b59297d3e3ea58deff84d080a0;hb=ef8679ef6af0ba01d8dc43df577c5962037f13bd;hp=671a533dc00ca089a03a50307028ba891e13bb21;hpb=910f3846bb30636fe25bdc6e06e72d50c6779bd9;p=mmh diff --git a/uip/ftpsbr.c b/uip/ftpsbr.c index 671a533..5b079ba 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)