diff options
Diffstat (limited to 'camel/providers/nntp/camel-nntp-grouplist.c')
-rw-r--r-- | camel/providers/nntp/camel-nntp-grouplist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/nntp/camel-nntp-grouplist.c b/camel/providers/nntp/camel-nntp-grouplist.c index e77a28821c..8fdc513832 100644 --- a/camel/providers/nntp/camel-nntp-grouplist.c +++ b/camel/providers/nntp/camel-nntp-grouplist.c @@ -37,6 +37,7 @@ camel_nntp_get_grouplist_from_server (CamelNNTPStore *store, CamelException *ex) gboolean done = FALSE; CamelNNTPGroupList *list; + CAMEL_NNTP_STORE_LOCK(store); status = camel_nntp_command (store, ex, NULL, "LIST"); @@ -73,6 +74,7 @@ camel_nntp_get_grouplist_from_server (CamelNNTPStore *store, CamelException *ex) list->group_list = g_list_prepend (list->group_list, entry); } } + CAMEL_NNTP_STORE_UNLOCK(store); list->group_list = g_list_reverse(list->group_list); return list; |