X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fftpsbr.c;h=9c118a5cfa83818d71fefc8751a3abc0769b7376;hp=d36e0e5088a471f2a94d0159513393182fbbeab3;hb=6c42153ad9362cc676ea66563bf400d7511b3b68;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/ftpsbr.c b/uip/ftpsbr.c index d36e0e5..9c118a5 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 @@ -27,16 +31,15 @@ extern int v_verbose; #include #include #include +#include -#if defined(BIND) && !defined(h_addr) +#if !defined(h_addr) # define h_addr h_addr_list[0] #endif #define inaddr_copy(hp,sin) \ memcpy((char *) &((sin)->sin_addr), (hp)->h_addr, (hp)->h_length) -extern int errno; - #define start_tcp_client(sock,priv) \ socket (AF_INET, SOCK_STREAM, 0)