diff src/gtk/misc-gtk.c @ 354:2ea37b3c0158

2003-1-5 Brian Masney <masneyb@gftp.org> * lib/gftp.h src/gtk/misc-gtk.c src/text/gftp-text.c - added logging level type gftp_logging_misc_nolog. If a message is logged with this level, it will be displayed to the screen but, it will not be logged to disk. * src/uicommon/gftpui.c - log the directory listings with the log level gftp_logging_misc_nolog * src/gtk/gtkui.c (gftpui_generic_thread) - fixed segfault. Pass cdata structure instead of wdata.
author masneyb
date Mon, 05 Jan 2004 23:38:22 +0000
parents eedc2c5727fa
children 3bb0cb1b8389
line wrap: on
line diff
--- a/src/gtk/misc-gtk.c	Mon Jan 05 21:18:24 2004 +0000
+++ b/src/gtk/misc-gtk.c	Mon Jan 05 23:38:22 2004 +0000
@@ -96,7 +96,7 @@
       return;
     }
 
-  if (gftp_logfd != NULL)
+  if (gftp_logfd != NULL && level != gftp_logging_misc_nolog)
     {
       if (fwrite (logstr, strlen (logstr), 1, gftp_logfd) != 1)
         {