summaryrefslogtreecommitdiff
path: root/bufferevent_openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'bufferevent_openssl.c')
-rw-r--r--bufferevent_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bufferevent_openssl.c b/bufferevent_openssl.c
index e01909ec..7582d9b4 100644
--- a/bufferevent_openssl.c
+++ b/bufferevent_openssl.c
@@ -87,7 +87,7 @@ print_err(int val)
int err;
printf("Error was %d\n", val);
- while ((err = ERR_get_error()))x {
+ while ((err = ERR_get_error())) {
const char *msg = (const char*)ERR_reason_error_string(err);
const char *lib = (const char*)ERR_lib_error_string(err);
const char *func = (const char*)ERR_func_error_string(err);