projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes NB#140483, do not process alerts without error
[modest]
/
src
/
modest-tny-account-store.c
diff --git
a/src/modest-tny-account-store.c
b/src/modest-tny-account-store.c
index
adad0fd
..
864cc28
100644
(file)
--- a/
src/modest-tny-account-store.c
+++ b/
src/modest-tny-account-store.c
@@
-1089,7
+1089,8
@@
modest_tny_account_store_alert (TnyAccountStore *self,
gboolean retval = TRUE;
/* NOTE: account may be NULL in some cases */
- g_return_val_if_fail (error, FALSE);
+ if (!error)
+ return FALSE;
/* Get the server name: */
if (account) {