FS-9749 fix undeclared identifier on windows.

This commit is contained in:
Brian West 2016-11-17 08:32:27 -06:00
parent 0578331edf
commit 25be37bef2
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ static switch_status_t msrp_socket_recv(msrp_client_socket_t *csock, char *buf,
switch_status_t status = SWITCH_STATUS_FALSE;
if (csock->secure) {
ssize_t r;
switch_ssize_t r;
r = SSL_read(globals.ssl, buf, *len);
if (r < 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "TLS read error: %" SWITCH_SSIZE_T_FMT "\n", r);