diff lib/protocols.c @ 677:8990a8a26ccf

2005-1-24 Brian Masney <masneyb@gftp.org> * lib/protocols.c lib/rfc959.c src/gtk/dnd.c src/gtk/gftp-gtk.c src/gtk/gtkui.c src/gtk/menu-items.c src/gtk/misc-gtk.c src/gtk/transfer.c src/gtk/view-dialog.c src/uicommon/gftpui.c - make sure the logging level gftp_logging_error is used for all error messages
author masneyb
date Tue, 25 Jan 2005 02:34:19 +0000
parents 72a6de68d9c8
children 4ed80df6729d
line wrap: on
line diff
--- a/lib/protocols.c	Tue Jan 25 01:55:01 2005 +0000
+++ b/lib/protocols.c	Tue Jan 25 02:34:19 2005 +0000
@@ -375,7 +375,7 @@
   if (locret == NULL)
     {
       locret = setlocale (LC_TIME, NULL);
-      request->logging_function (gftp_logging_misc, request,
+      request->logging_function (gftp_logging_error, request,
                                  _("Error setting LC_TIME to '%s'. Falling back to '%s'\n"),
                                  remote_lc_time, locret);
     }
@@ -822,7 +822,7 @@
 
       if (gftp_protocols[i].url_prefix == NULL)
         {
-          request->logging_function (gftp_logging_misc, NULL, 
+          request->logging_function (gftp_logging_error, NULL, 
                                      _("The protocol '%s' is currently not supported.\n"),
                                      new_url);
           g_free (new_url);
@@ -849,7 +849,7 @@
 
       if (gftp_protocols[i].url_prefix == NULL)
         {
-          request->logging_function (gftp_logging_misc, NULL, 
+          request->logging_function (gftp_logging_error, NULL, 
                                      _("The protocol '%s' is currently not supported.\n"),
                                      default_protocol);
           g_free (new_url);