aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp/camel-nntp-store.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-09-06 04:08:10 +0800
committerPeter Williams <peterw@src.gnome.org>2000-09-06 04:08:10 +0800
commitb1e66c4c60ca6d52c0a164a510e5199ca201bf98 (patch)
tree8a3bdab58ee5ba9a3374c77fa867bd19585a05ed /camel/providers/nntp/camel-nntp-store.c
parenta86c7ea0ab3775cc8fb141c1792c3b2bdb663a34 (diff)
downloadgsoc2013-evolution-b1e66c4c60ca6d52c0a164a510e5199ca201bf98.tar
gsoc2013-evolution-b1e66c4c60ca6d52c0a164a510e5199ca201bf98.tar.gz
gsoc2013-evolution-b1e66c4c60ca6d52c0a164a510e5199ca201bf98.tar.bz2
gsoc2013-evolution-b1e66c4c60ca6d52c0a164a510e5199ca201bf98.tar.lz
gsoc2013-evolution-b1e66c4c60ca6d52c0a164a510e5199ca201bf98.tar.xz
gsoc2013-evolution-b1e66c4c60ca6d52c0a164a510e5199ca201bf98.tar.zst
gsoc2013-evolution-b1e66c4c60ca6d52c0a164a510e5199ca201bf98.zip
Cleanup of lots of exception handling ; bugfixes
svn path=/trunk/; revision=5202
Diffstat (limited to 'camel/providers/nntp/camel-nntp-store.c')
-rw-r--r--camel/providers/nntp/camel-nntp-store.c6
1 files changed, 6 insertions, 0 deletions
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);