avoid double printing errors

SVN revision: 56934
This commit is contained in:
Mike Blumenkrantz 2011-02-10 19:22:30 +00:00
parent 8c9577dc2a
commit 84cd9199de
1 changed files with 0 additions and 2 deletions

View File

@ -53,7 +53,6 @@ _gnutls_print_errors(void *conn, int type, int ret)
if (!ret) return;
snprintf(buf, sizeof(buf), "GNUTLS error: %s - %s", gnutls_strerror_name(ret), gnutls_strerror(ret));
ERR("%s", buf);
if (type == ECORE_CON_EVENT_CLIENT_ERROR)
ecore_con_event_client_error(conn, buf);
else
@ -126,7 +125,6 @@ _openssl_print_errors(void *conn, int type)
err = ERR_get_error();
if (!err) break;
snprintf(buf, sizeof(buf), "OpenSSL error: %s", ERR_reason_error_string(err));
ERR("%s", buf);
if (type == ECORE_CON_EVENT_CLIENT_ERROR)
ecore_con_event_client_error(conn, buf);
else