Mercurial > dovecot > core-2.2
diff src/director/login-connection.c @ 18670:d54dc360cd3c
director: Minor code cleanup - allow access to auth connection's ostream directly.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 13 May 2015 13:57:24 +0300 |
parents | 67fdd6f962f5 |
children | 52cdf321fa07 |
line wrap: on
line diff
--- a/src/director/login-connection.c Wed May 13 13:15:57 2015 +0300 +++ b/src/director/login-connection.c Wed May 13 13:57:24 2015 +0300 @@ -44,6 +44,7 @@ static void login_connection_input(struct login_connection *conn) { + struct ostream *output; unsigned char buf[4096]; ssize_t ret; @@ -58,7 +59,8 @@ login_connection_deinit(&conn); return; } - auth_connection_send(conn->auth, buf, ret); + output = auth_connection_get_output(conn->auth); + o_stream_nsend(output, buf, ret); } static void