* 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>
#include <netdb.h>
#include <errno.h>
-#if defined(BIND) && !defined(h_addr)
+#if !defined(h_addr)
# define h_addr h_addr_list[0]
#endif
bp = buffer;
for (;;) {
- char c;
+ unsigned char c;
if (read_tcp_socket (ftp_fd, &c, 1) < 1) {
if (expecteof)