Don't warning about how we haven't written anything to the stream, this is
2003-09-16 Jeffrey Stedfast <fejj@ximian.com> * camel-stream-filter.c (do_flush): Don't warning about how we haven't written anything to the stream, this is not an error. fflush() doesn't care if you try to fflush() a stream without writing to it, so we shouldn't care either. svn path=/trunk/; revision=22590
This commit is contained in:

committed by
Jeffrey Stedfast

parent
d6a1f02c1a
commit
ae79d33583
@ -1,3 +1,10 @@
|
|||||||
|
2003-09-16 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
|
* camel-stream-filter.c (do_flush): Don't warning about how we
|
||||||
|
haven't written anything to the stream, this is not an
|
||||||
|
error. fflush() doesn't care if you try to fflush() a stream
|
||||||
|
without writing to it, so we shouldn't care either.
|
||||||
|
|
||||||
2003-09-15 Not Zed <NotZed@Ximian.com>
|
2003-09-15 Not Zed <NotZed@Ximian.com>
|
||||||
|
|
||||||
* providers/imapp/camel-imapp-store.c (store_resp_list)
|
* providers/imapp/camel-imapp-store.c (store_resp_list)
|
||||||
|
@ -331,10 +331,8 @@ do_flush (CamelStream *stream)
|
|||||||
size_t presize;
|
size_t presize;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
if (p->last_was_read) {
|
if (p->last_was_read)
|
||||||
g_warning("Flushing a filter stream without writing to it");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
|
|
||||||
buffer = "";
|
buffer = "";
|
||||||
len = 0;
|
len = 0;
|
||||||
|
Reference in New Issue
Block a user