From: discomfitor Date: Thu, 10 Feb 2011 19:22:30 +0000 (+0000) Subject: avoid double printing errors X-Git-Tag: 2.0_alpha~194^2~218 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6df06f5f702791a8ec97b4ad8d07d1466b39e12d;p=framework%2Fuifw%2Fecore.git avoid double printing errors git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@56934 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_con/ecore_con_ssl.c b/src/lib/ecore_con/ecore_con_ssl.c index 1e26874..95e22fe 100644 --- a/src/lib/ecore_con/ecore_con_ssl.c +++ b/src/lib/ecore_con/ecore_con_ssl.c @@ -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