commit e808825: [Minor] Try to fix mess

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Jul 19 18:56:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-19 19:46:25 +0100
URL: https://github.com/rspamd/rspamd/commit/e808825b430161fe52a861f2098a873d5866b5e5 (HEAD -> master)

[Minor] Try to fix mess

---
 src/libutil/ssl_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libutil/ssl_util.c b/src/libutil/ssl_util.c
index 7d4612b3d..54322918c 100644
--- a/src/libutil/ssl_util.c
+++ b/src/libutil/ssl_util.c
@@ -668,7 +668,7 @@ rspamd_ssl_write (struct rspamd_ssl_connection *conn, gconstpointer buf,
 	}
 	else {
 		ret = SSL_get_error (conn->ssl, ret);
-		conn->state = ssl_next_read;
+		conn->state = ssl_next_write;
 
 		if (ret == SSL_ERROR_WANT_READ) {
 			what = EV_READ;


More information about the Commits mailing list