diff lib/protocols.c @ 76:fe308e435ed5

2002-12-4 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_set_data_type) - return 0 if there is no protocol specific set_data_type function * src/gtk/transfer.c (gftp_gtk_transfer_files) - ascii/binary automatic switching fixes
author masneyb
date Thu, 05 Dec 2002 00:43:07 +0000
parents e2b30d0c97a4
children 7ef60ce2bdb2
line wrap: on
line diff
--- a/lib/protocols.c	Wed Dec 04 02:36:05 2002 +0000
+++ b/lib/protocols.c	Thu Dec 05 00:43:07 2002 +0000
@@ -496,7 +496,7 @@
   g_return_val_if_fail (request != NULL, -2);
 
   if (request->set_data_type == NULL)
-    return (-2);
+    return (0);
   return (request->set_data_type (request, data_type));
 }