comparison lib/ftps.c @ 969:e95ae20ddf0e

2008-11-30 Brian Masney <masneyb@gftp.org> * lib/ftps.c - warning fixes for the FTPS protocol when OpenSSL support is disabled.
author masneyb
date Sun, 30 Nov 2008 14:41:36 +0000
parents ce365745f7ba
children
comparison
equal deleted inserted replaced
968:ce365745f7ba 969:e95ae20ddf0e
99 params->data_conn_write = gftp_fd_write; 99 params->data_conn_write = gftp_fd_write;
100 } 100 }
101 101
102 return (0); 102 return (0);
103 } 103 }
104
105 /*@unused@*/ static int
106 ftps_connect (gftp_request * request)
107 {
108 if (request->datafd > 0)
109 return (0);
110
111 request->read_function = gftp_fd_read;
112 request->write_function = gftp_fd_write;
113
114 return (rfc959_connect (request));
115 }
116
104 #endif 117 #endif
105 118
106 119
107 void 120 void
108 ftps_register_module (void) 121 ftps_register_module (void)