dovecot-2.2: lib: connection: Now uses io_add_istream() instead ...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Nov 15 01:27:35 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/7ef360d3fb09
changeset: 18095:7ef360d3fb09
user: Stephan Bosch <stephan at rename-it.nl>
date: Sat Nov 15 02:36:22 2014 +0200
description:
lib: connection: Now uses io_add_istream() instead of io_add().
diffstat:
src/lib/connection.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r a350812e07bf -r 7ef360d3fb09 src/lib/connection.c
--- a/src/lib/connection.c Sat Nov 15 02:27:27 2014 +0200
+++ b/src/lib/connection.c Sat Nov 15 02:36:22 2014 +0200
@@ -124,7 +124,7 @@
o_stream_set_no_error_handling(conn->output, TRUE);
o_stream_set_name(conn->output, conn->name);
}
- conn->io = io_add(conn->fd_in, IO_READ, *conn->list->v.input, conn);
+ conn->io = io_add_istream(conn->input, *conn->list->v.input, conn);
if (set->input_idle_timeout_secs != 0) {
conn->to = timeout_add(set->input_idle_timeout_secs*1000,
connection_idle_timeout, conn);
@@ -225,7 +225,7 @@
o_stream_set_no_error_handling(conn->output, TRUE);
o_stream_set_name(conn->output, conn->name);
- conn->io = io_add(conn->fd_in, IO_READ, *list->v.input, conn);
+ conn->io = io_add_istream(conn->input, *list->v.input, conn);
DLLIST_PREPEND(&list->connections, conn);
list->connections_count++;
More information about the dovecot-cvs
mailing list