Small fix
- From: Sergio Villar Senin <svillar igalia com>
- To: tinymail-devel-list gnome org
- Subject: Small fix
- Date: Wed, 14 Feb 2007 17:26:20 +0100
Hi,
seems that the stream is in a bad place, isn't it?
Br
Index: camel-lite/camel/providers/imap/camel-imap-store.c
===================================================================
--- camel-lite/camel/providers/imap/camel-imap-store.c (revisión: 1634)
+++ camel-lite/camel/providers/imap/camel-imap-store.c (copia de trabajo)
@@ -3468,12 +3468,12 @@
*dest = NULL;
g_mutex_lock (store->stream_lock);
+ stream = CAMEL_STREAM_BUFFER (store->istream);
if (stream == NULL || ((CamelObject *)stream)->ref_count <= 0)
{
g_mutex_unlock (store->stream_lock);
return -1;
}
- stream = CAMEL_STREAM_BUFFER (store->istream);
ba = g_byte_array_new ();
while ((nread = camel_tcp_stream_buffer_gets_nb (stream,
linebuf, sizeof (linebuf))) > 0)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]