1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +02:00

fix logging bug

This commit is contained in:
lxsang 2019-12-12 10:37:26 +01:00
parent e05515a537
commit fabe2e6e2a
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -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;
}
}