Fix compilation problem
authorAlberto Garcia <agarcia@igalia.com>
Mon, 10 Dec 2007 09:15:32 +0000 (09:15 +0000)
committerAlberto Garcia <agarcia@igalia.com>
Mon, 10 Dec 2007 09:15:32 +0000 (09:15 +0000)
pmo-trunk-r3888

src/modest-tny-account-store.c

index 71b5ebb..9c91ea0 100644 (file)
@@ -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 ();