mirror of
https://github.com/lxsang/ant-http
synced 2024-12-25 16:28:21 +01:00
fix logging bug
This commit is contained in:
parent
e05515a537
commit
fabe2e6e2a
BIN
dist/antd-1.0.4b.tar.gz
vendored
BIN
dist/antd-1.0.4b.tar.gz
vendored
Binary file not shown.
@ -160,7 +160,7 @@ int antd_send(void *src, const void* data, int len)
|
|||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
// other error
|
// 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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -290,7 +290,7 @@ int antd_recv(void *src, void* data, int len)
|
|||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
// other error
|
// 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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user