diff options
author | Linus Nordberg <linus@nordu.net> | 2011-02-20 17:17:54 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-02-20 17:17:54 +0100 |
commit | 4b293ed1e726e16831d421667dc4d2912846f3f3 (patch) | |
tree | 0b4add853b07e33f971a1168c11119b1b642ccb4 | |
parent | c0c1280e0c8e1bc0692ad016890c2065c7f41d80 (diff) |
Report SSL errors with error string rather than an integer.
-rw-r--r-- | lib/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/packet.c b/lib/packet.c index 4927725..9c6edf2 100644 --- a/lib/packet.c +++ b/lib/packet.c @@ -141,7 +141,7 @@ _event_cb (struct bufferevent *bev, short events, void *ctx) rs_debug (("%s: openssl error: %s\n", __func__, ERR_error_string (tlserr, NULL))); rs_err_conn_push_fl (pkt->conn, RSE_SSLERR, __FILE__, __LINE__, - "%d", tlserr); + ERR_error_string (tlserr, NULL)); } } #endif /* RS_ENABLE_TLS */ |