From 3553b694d0a183fda4875b25b11de6571a245711 Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Fri, 2 Sep 2005 10:44:44 +0000 Subject: [PATCH] don't fetch the error-msg a second time git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@675 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/connections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connections.c b/src/connections.c index 99236c86..cfd7e2aa 100644 --- a/src/connections.c +++ b/src/connections.c @@ -243,7 +243,7 @@ static int connection_handle_read(server *srv, connection *con) { /* a unencrypted HTTP request on a HTTPS socket. Do a redirect to the right location */ default: log_error_write(srv, __FILE__, __LINE__, "sds", "SSL:", - r, ERR_error_string(ERR_get_error(), NULL)); + r, ERR_error_string(ssl_err, NULL)); break; } break;