comparison lib/https.c @ 186:13ca1defdc75

2003-6-16 Brian Masney <masneyb@gftp.org> * lib/gftp.h src/text/gftp-text.c src/gtk/misc-gtk.c - changed 2nd parameter of logging function to be a request structure, instead of request->user_data. In the logging functions, if the string isn't in UTF-8, convert it with gftp_string_to_utf8() * lib/bookmark.c lib/cache.c lib/gftp.h lib/https.c lib/local.c lib/protocols.c lib/rfc2068.c lib/rfc959.c lib/sshv2.c lib/sslcommon.c src/gtk/chmod_dialog.c src/gtk/delete_dialog.c src/gtk/gftp-gtk.h src/gtk/menu-items.c src/gtk/misc-gtk.c src/gtk/mkdir_dialog.c src/gtk/rename_dialog.c src/gtk/transfer.c src/text/gftp-text.c src/gtk/gftp-gtk.h src/text/gftp-text.h - pass request structure to logging function instead of request->user_data
author masneyb
date Tue, 17 Jun 2003 10:49:16 +0000
parents e643d287fe32
children 1ffdbc487a70
comparison
equal deleted inserted replaced
185:cc94bd62d290 186:13ca1defdc75
83 if ((ret = gftp_ssl_startup (NULL)) < 0) 83 if ((ret = gftp_ssl_startup (NULL)) < 0)
84 return (ret); 84 return (ret);
85 85
86 return (0); 86 return (0);
87 #else 87 #else
88 request->logging_function (gftp_logging_error, request->user_data, 88 request->logging_function (gftp_logging_error, request,
89 _("HTTPS Support unavailable since SSL support was not compiled in. Aborting connection.\n")); 89 _("HTTPS Support unavailable since SSL support was not compiled in. Aborting connection.\n"));
90 90
91 return (GFTP_EFATAL); 91 return (GFTP_EFATAL);
92 #endif 92 #endif
93 } 93 }