From e01b1cb6625883a4db723209c743dc03abc112ef Mon Sep 17 00:00:00 2001 From: 0 Date: Tue, 30 Oct 2001 03:27:28 +0000 Subject: w(x) out some warnings. 2001-10-30 * camel-mime-utils.c (header_decode_mailbox): w(x) out some warnings. * providers/local/camel-local-summary.c (camel_local_summary_load): Remove the warning about not loading summary file - its a valid case for new folders. svn path=/trunk/; revision=14411 --- camel/camel-mime-utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'camel/camel-mime-utils.c') diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index b1bf54ca14..4f5edb43c4 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -71,7 +71,7 @@ int free_count = 0; #define g_free(x) (free_count++, g_free(x)) #endif -/* for all warnings ... */ +/* for all non-essential warnings ... */ #define w(x) #define d(x) @@ -2363,7 +2363,7 @@ header_decode_mailbox(const char **in) /* Fix for stupidly-broken-mailers that like to put '.''s in names unquoted */ /* see bug #8147 */ if (*inptr && *inptr != '<') { - g_warning("Working around stupid mailer bug #5: unescaped characters in names"); + w(g_warning("Working around stupid mailer bug #5: unescaped characters in names")); name = g_string_append_c(name, *inptr++); pre = header_decode_word(&inptr); } @@ -2434,8 +2434,8 @@ header_decode_mailbox(const char **in) if (*inptr && *inptr != ',') { char *text; - g_warning("We didn't get an '@' where we expected in '%s', trying again", *in); - g_warning("Name is '%s', Addr is '%s' we're at '%s'\n", name?name->str:"", addr->str, inptr); + w(g_warning("We didn't get an '@' where we expected in '%s', trying again", *in)); + w(g_warning("Name is '%s', Addr is '%s' we're at '%s'\n", name?name->str:"", addr->str, inptr)); /* need to keep *inptr, as try_address_again will drop the current character */ if (*inptr == '<') -- cgit v1.2.3