diff --git a/dist/antd-1.0.4b.tar.gz b/dist/antd-1.0.4b.tar.gz index e2c5931..77bfffd 100644 Binary files a/dist/antd-1.0.4b.tar.gz and b/dist/antd-1.0.4b.tar.gz differ diff --git a/lib/handle.c b/lib/handle.c index aaa5d63..c2dde18 100644 --- a/lib/handle.c +++ b/lib/handle.c @@ -160,7 +160,7 @@ int antd_send(void *src, const void* data, int len) default: { // other error - ERROR("SSLWRITE: Unknown error on %d: %s", source->sock, ERR_get_error()); + ERROR("SSL WRITE: Unknown error on %d: %d", source->sock, err); break; } } @@ -290,7 +290,7 @@ int antd_recv(void *src, void* data, int len) default: { // other error - ERROR("SSL READ: unkown error on %d: %s", source->sock, ERR_get_error()); + ERROR("SSL READ: unkown error on %d: %d", source->sock, err); break; } }