gftp r977 - trunk/lib



Author: masneyb
Date: Sun Nov 30 14:41:36 2008
New Revision: 977
URL: http://svn.gnome.org/viewvc/gftp?rev=977&view=rev

Log:
2008-11-30 Brian Masney <masneyb gftp org>
        * lib/ftps.c - warning fixes for the FTPS protocol when OpenSSL
        support is disabled.


Modified:
   trunk/lib/ftps.c

Modified: trunk/lib/ftps.c
==============================================================================
--- trunk/lib/ftps.c	(original)
+++ trunk/lib/ftps.c	Sun Nov 30 14:41:36 2008
@@ -101,6 +101,19 @@
 
   return (0);
 }
+
+/* unused@*/ static int
+ftps_connect (gftp_request * request)
+{
+  if (request->datafd > 0)
+    return (0);
+
+  request->read_function = gftp_fd_read;
+  request->write_function = gftp_fd_write;
+
+  return (rfc959_connect (request));
+}
+
 #endif
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]