Change all chars being passed to the ctype macros (isalph(), etc.) to
[mmh] / uip / ftpsbr.c
index 671a533..5b079ba 100644 (file)
@@ -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 <h/mh.h>
@@ -29,7 +33,7 @@ extern int v_verbose;
 #include <netdb.h>
 #include <errno.h>
 
-#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)