diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-02 06:02:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-02 06:02:20 +0800 |
commit | 29bf2715b816f7e310ba5a44891e82aaaa02e2f5 (patch) | |
tree | 4b67a1df2c333156e8294f8ec951381a4673f518 /mail/mail-vfolder.c | |
parent | 37af98188c94b614dcc54211bca1f7448f04cbd0 (diff) | |
download | gsoc2013-evolution-29bf2715b816f7e310ba5a44891e82aaaa02e2f5.tar.gz gsoc2013-evolution-29bf2715b816f7e310ba5a44891e82aaaa02e2f5.tar.zst gsoc2013-evolution-29bf2715b816f7e310ba5a44891e82aaaa02e2f5.zip |
replace my_list_find() == NULL with my_list_find() != NULL.
2001-10-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (mail_vfolder_remove_uri): replace my_list_find()
== NULL with my_list_find() != NULL.
svn path=/trunk/; revision=13282
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index 185a2e92c2..4bb56e8983 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -367,12 +367,12 @@ mail_vfolder_remove_uri(CamelStore *store, const char *uri) /* maintain remote/local lists */ if (remote) { - if ((link = my_list_find(source_folders_remote, (void *)uri, uri_cmp)) == NULL) { + if ((link = my_list_find(source_folders_remote, (void *)uri, uri_cmp)) != NULL) { g_free(link->data); source_folders_remote = g_list_remove_link(source_folders_remote, link); } } else { - if ((link = my_list_find(source_folders_local, (void *)uri, uri_cmp)) == NULL) { + if ((link = my_list_find(source_folders_local, (void *)uri, uri_cmp)) != NULL) { g_free(link->data); source_folders_local = g_list_remove_link(source_folders_local, link); } |