diff src/imap/cmd-append.c @ 4903:204d7edc7cdc HEAD

Added context parameter type safety checks for most callback APIs.
author Timo Sirainen <tss@iki.fi>
date Fri, 15 Dec 2006 18:55:29 +0200
parents a10701f11246
children 5b4c9b20eba0
line wrap: on
line diff
--- a/src/imap/cmd-append.c	Wed Dec 13 15:49:46 2006 +0200
+++ b/src/imap/cmd-append.c	Fri Dec 15 18:55:29 2006 +0200
@@ -422,7 +422,7 @@
 	/* append is special because we're only waiting on client input, not
 	   client output, so disable the standard output handler until we're
 	   finished */
-	o_stream_set_flush_callback(client->output, NULL, NULL);
+	o_stream_unset_flush_callback(client->output);
 
 	ctx->save_parser = imap_parser_create(client->input, client->output,
 					      imap_max_line_length);