From b1e66c4c60ca6d52c0a164a510e5199ca201bf98 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 5 Sep 2000 20:08:10 +0000 Subject: Cleanup of lots of exception handling ; bugfixes svn path=/trunk/; revision=5202 --- camel/providers/nntp/camel-nntp-store.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'camel/providers/nntp/camel-nntp-store.c') diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c index 521b802c78..75b8ef9409 100644 --- a/camel/providers/nntp/camel-nntp-store.c +++ b/camel/providers/nntp/camel-nntp-store.c @@ -66,6 +66,8 @@ camel_nntp_store_get_extensions (CamelNNTPStore *store) gboolean done = FALSE; CamelException ex; + camel_exception_init (&ex); + while (!done) { char *line; @@ -118,6 +120,8 @@ camel_nntp_store_get_overview_fmt (CamelNNTPStore *store) gboolean done = FALSE; CamelException ex; + camel_exception_init (&ex); + status = camel_nntp_command (store, NULL, "LIST OVERVIEW.FMT"); @@ -407,6 +411,8 @@ camel_nntp_command (CamelNNTPStore *store, char **ret, char *fmt, ...) char *real_fmt; CamelException ex; + camel_exception_init (&ex); + real_fmt = g_strdup_printf ("%s\r\n", fmt); va_start (ap, fmt); -- cgit v1.2.3