(remote_recv_line): Fix another problem...

svn path=/trunk/; revision=8585
This commit is contained in:
Dan Winship
2001-03-07 21:30:22 +00:00
parent 1aa3a1f9bf
commit e6d034f755
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
!camel_exception_is_set(), since that will be wrong if ex==NULL...
Fixes a crash in the IMAP keepalive code, but this same problem
probably exists in other places too...
(remote_recv_line): Fix another problem...
* providers/local/camel-mbox-provider.c:
* providers/vee/.cvsignore:

View File

@ -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 ();