aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-26 05:36:09 +0800
committerDan Winship <danw@src.gnome.org>2000-10-26 05:36:09 +0800
commit76d0cad905e5cd00d5500a3e74a3c7d1d3fd8136 (patch)
treee12a5b5db8fac39857e9777bfb835ef245c3dbc5 /camel/providers
parent1c81f56fdefa6412bd1f3ae5f36ad3f872e25ce7 (diff)
downloadgsoc2013-evolution-76d0cad905e5cd00d5500a3e74a3c7d1d3fd8136.tar.gz
gsoc2013-evolution-76d0cad905e5cd00d5500a3e74a3c7d1d3fd8136.tar.zst
gsoc2013-evolution-76d0cad905e5cd00d5500a3e74a3c7d1d3fd8136.zip
Fix folder listing code infinite loop.
* providers/imap/camel-imap-store.c (get_folder_info): Fix folder listing code infinite loop. svn path=/trunk/; revision=6178
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index f0ea3c0aec..43357a4326 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -675,7 +675,7 @@ get_folder_info (CamelStore *store, const char *top, gboolean fast,
topfi = topfi->child;
fi->child = NULL;
camel_folder_info_free (fi);
- for (fi = topfi; fi; fi->sibling)
+ for (fi = topfi; fi; fi = fi->sibling)
fi->parent = NULL;
}