From: Alberto Garcia Date: Mon, 10 Dec 2007 09:15:32 +0000 (+0000) Subject: Fix compilation problem X-Git-Tag: git_migration_finished~1950 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=bc04644421a5bbf12abbf6f8bb2600b901e675b4 Fix compilation problem pmo-trunk-r3888 --- diff --git a/src/modest-tny-account-store.c b/src/modest-tny-account-store.c index 71b5ebb..9c91ea0 100644 --- a/src/modest-tny-account-store.c +++ b/src/modest-tny-account-store.c @@ -1344,8 +1344,8 @@ modest_tny_account_store_get_smtp_specific_transport_account_for_open_connection { TnyDevice *device; - g_return_if_fail (self && MODEST_IS_TNY_ACCOUNT_STORE(self)); - g_return_if_fail (account_name); + g_return_val_if_fail (self && MODEST_IS_TNY_ACCOUNT_STORE(self), NULL); + g_return_val_if_fail (account_name, NULL); /* Get the current connection: */ device = modest_runtime_get_device ();