Change all chars being passed to the ctype macros (isalph(), etc.) to
[mmh] / uip / ftpsbr.c
index 525554e..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>
@@ -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)