aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-10-30 11:27:28 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-30 11:27:28 +0800
commite01b1cb6625883a4db723209c743dc03abc112ef (patch)
treeb0a6bc7b377e85c94dee04a1ebca183fef25f7d0 /camel/camel-mime-utils.c
parent2e6dc6d43f6483377fc9c18a7c19c9b7cb736e15 (diff)
downloadgsoc2013-evolution-e01b1cb6625883a4db723209c743dc03abc112ef.tar
gsoc2013-evolution-e01b1cb6625883a4db723209c743dc03abc112ef.tar.gz
gsoc2013-evolution-e01b1cb6625883a4db723209c743dc03abc112ef.tar.bz2
gsoc2013-evolution-e01b1cb6625883a4db723209c743dc03abc112ef.tar.lz
gsoc2013-evolution-e01b1cb6625883a4db723209c743dc03abc112ef.tar.xz
gsoc2013-evolution-e01b1cb6625883a4db723209c743dc03abc112ef.tar.zst
gsoc2013-evolution-e01b1cb6625883a4db723209c743dc03abc112ef.zip
w(x) out some warnings.
2001-10-30 <NotZed@Ximian.com> * 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
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c8
1 files changed, 4 insertions, 4 deletions
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:"<UNSET>", 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:"<UNSET>", addr->str, inptr));
/* need to keep *inptr, as try_address_again will drop the current character */
if (*inptr == '<')