projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compilation problem
[modest]
/
src
/
modest-tny-account-store.c
diff --git
a/src/modest-tny-account-store.c
b/src/modest-tny-account-store.c
index
71b5ebb
..
9c91ea0
100644
(file)
--- 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;
{
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 ();
/* Get the current connection: */
device = modest_runtime_get_device ();