Mercurial > gftp.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
676:72a6de68d9c8 | 677:8990a8a26ccf |
---|---|
373 locret = setlocale (LC_TIME, NULL); | 373 locret = setlocale (LC_TIME, NULL); |
374 | 374 |
375 if (locret == NULL) | 375 if (locret == NULL) |
376 { | 376 { |
377 locret = setlocale (LC_TIME, NULL); | 377 locret = setlocale (LC_TIME, NULL); |
378 request->logging_function (gftp_logging_misc, request, | 378 request->logging_function (gftp_logging_error, request, |
379 _("Error setting LC_TIME to '%s'. Falling back to '%s'\n"), | 379 _("Error setting LC_TIME to '%s'. Falling back to '%s'\n"), |
380 remote_lc_time, locret); | 380 remote_lc_time, locret); |
381 } | 381 } |
382 #else | 382 #else |
383 locret = _("<unknown>"); | 383 locret = _("<unknown>"); |
820 break; | 820 break; |
821 } | 821 } |
822 | 822 |
823 if (gftp_protocols[i].url_prefix == NULL) | 823 if (gftp_protocols[i].url_prefix == NULL) |
824 { | 824 { |
825 request->logging_function (gftp_logging_misc, NULL, | 825 request->logging_function (gftp_logging_error, NULL, |
826 _("The protocol '%s' is currently not supported.\n"), | 826 _("The protocol '%s' is currently not supported.\n"), |
827 new_url); | 827 new_url); |
828 g_free (new_url); | 828 g_free (new_url); |
829 return (GFTP_EFATAL); | 829 return (GFTP_EFATAL); |
830 } | 830 } |
847 } | 847 } |
848 } | 848 } |
849 | 849 |
850 if (gftp_protocols[i].url_prefix == NULL) | 850 if (gftp_protocols[i].url_prefix == NULL) |
851 { | 851 { |
852 request->logging_function (gftp_logging_misc, NULL, | 852 request->logging_function (gftp_logging_error, NULL, |
853 _("The protocol '%s' is currently not supported.\n"), | 853 _("The protocol '%s' is currently not supported.\n"), |
854 default_protocol); | 854 default_protocol); |
855 g_free (new_url); | 855 g_free (new_url); |
856 return (GFTP_EFATAL); | 856 return (GFTP_EFATAL); |
857 } | 857 } |