aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-remote-store.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-08 05:30:22 +0800
committerDan Winship <danw@src.gnome.org>2001-03-08 05:30:22 +0800
commite6d034f7558f4017ae1fc2d123b10474d79aed6f (patch)
tree5db067e2ea9b65ac73818ab8f7b4f159113eb096 /camel/camel-remote-store.c
parent1aa3a1f9bf6b3072479bbc52d0d56a02e6ee58ad (diff)
downloadgsoc2013-evolution-e6d034f7558f4017ae1fc2d123b10474d79aed6f.tar.gz
gsoc2013-evolution-e6d034f7558f4017ae1fc2d123b10474d79aed6f.tar.zst
gsoc2013-evolution-e6d034f7558f4017ae1fc2d123b10474d79aed6f.zip
(remote_recv_line): Fix another problem...
svn path=/trunk/; revision=8585
Diffstat (limited to 'camel/camel-remote-store.c')
-rw-r--r--camel/camel-remote-store.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-remote-store.c b/camel/camel-remote-store.c
index 991e5b0e1a..f756eb5ac8 100644
--- a/camel/camel-remote-store.c
+++ b/camel/camel-remote-store.c
@@ -507,7 +507,7 @@ camel_remote_store_send_stream (CamelRemoteStore *store, CamelStream *stream, Ca
static int
remote_recv_line (CamelRemoteStore *store, char **dest, CamelException *ex)
{
- CamelStreamBuffer *stream = CAMEL_STREAM_BUFFER (store->istream);
+ CamelStreamBuffer *stream;
GByteArray *bytes;
gchar buf[1024], *ret;
gint nread;
@@ -524,6 +524,7 @@ remote_recv_line (CamelRemoteStore *store, char **dest, CamelException *ex)
g_strerror (errno));
return -1;
}
+ stream = CAMEL_STREAM_BUFFER (store->istream);
bytes = g_byte_array_new ();