From e7d6ad6d83acd3aba0dc11d4955339b20ccc8cf3 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Fri, 31 Aug 2007 05:24:51 +0000 Subject: ** Move away from g_assert to g_return* calls svn path=/trunk/; revision=34143 --- mail/em-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/em-utils.c') diff --git a/mail/em-utils.c b/mail/em-utils.c index 6a9762f02b..063dde8307 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -1737,7 +1737,7 @@ char *em_uri_to_camel(const char *euri) if (eurl == NULL) return g_strdup(euri); - g_assert(eurl->host != NULL); + g_return_val_if_fail (eurl->host != NULL, g_strdup(euri)); if (eurl->user != NULL) { /* Sigh, shoul'dve used mbox@local for mailboxes, not local@local */ -- cgit