changeset 191:1e74b7796232

2003-6-18 Brian Masney <masneyb@gftp.org> * lib/protocols.c - send right parameters to the logging function (from Nam SungHyun <namsh@kldp.org>)
author masneyb
date Wed, 18 Jun 2003 10:17:31 +0000
parents 876747813a60
children 2be24d5cc033
files ChangeLog lib/protocols.c
diffstat 2 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jun 18 01:07:51 2003 +0000
+++ b/ChangeLog	Wed Jun 18 10:17:31 2003 +0000
@@ -1,3 +1,7 @@
+2003-6-18 Brian Masney <masneyb@gftp.org>
+	* lib/protocols.c - send right parameters to the logging function
+	(from Nam SungHyun <namsh@kldp.org>)
+
 2003-6-17 Brian Masney <masneyb@gftp.org>
 	* src/gtk/misc-gtk.c (ftp_log) - remote charset fixes for when the log 
 	message is generated inside a child thread
@@ -1032,7 +1036,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.95 2003/06/18 01:07:49 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.96 2003/06/18 10:17:29 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/lib/protocols.c	Wed Jun 18 01:07:51 2003 +0000
+++ b/lib/protocols.c	Wed Jun 18 10:17:31 2003 +0000
@@ -2368,8 +2368,7 @@
       else if (retries != 0 && 
                tdata->current_file_retries >= retries)
         {
-          tdata->fromreq->logging_function (gftp_logging_error, 
-                   tdata->fromreq->user_data,
+          tdata->fromreq->logging_function (gftp_logging_error, tdata->fromreq,
                    _("Error: Remote site %s disconnected. Max retries reached...giving up\n"),
                    tdata->fromreq->hostname != NULL ? 
                          tdata->fromreq->hostname : tdata->toreq->hostname);
@@ -2377,8 +2376,7 @@
         }
       else
         {
-          tdata->fromreq->logging_function (gftp_logging_error, 
-                     tdata->fromreq->user_data,
+          tdata->fromreq->logging_function (gftp_logging_error, tdata->fromreq,
                      _("Error: Remote site %s disconnected. Will reconnect in %d seconds\n"),
                      tdata->fromreq->hostname != NULL ? 
                            tdata->fromreq->hostname : tdata->toreq->hostname,