--- src/lib/libftpio/ftpio.c 2004/08/19 23:57:46 1.7 +++ src/lib/libftpio/ftpio.c 2005/07/23 20:23:06 1.8 @@ -95,16 +95,6 @@ int FtpTimedOut; /* FTP unhappy status codes */ #define FTP_TIMED_OUT 421 -/* - * XXX - * gross! evil! bad! We really need an access primitive for cookie in stdio - * itself. - * it's too convenient a hook to bury and it's already exported through funopen - * as it is, so... - * XXX - */ -#define fcookie(fp) ((fp)->_cookie) - /* Placeholder in case we want to do any pre-init stuff at some point */ int networkInit(void) @@ -306,7 +296,6 @@ ftpLoginAf(const char *host, int af, con fp = NULL; if (n && ftp_login_session(n, host, af, user, passwd, port, verbose) == SUCCESS) { fp = funopen(n, ftp_read_method, ftp_write_method, NULL, ftp_close_method); /* BSD 4.4 function! */ - fp->_file = n->fd_ctrl; } if (retcode) { if (!n)