]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9749 fix undeclared identifier on windows.
authorBrian West <brian@freeswitch.org>
Thu, 17 Nov 2016 14:32:27 +0000 (08:32 -0600)
committerBrian West <brian@freeswitch.org>
Thu, 17 Nov 2016 14:32:27 +0000 (08:32 -0600)
src/switch_msrp.c

index cc189f310c9c94de64590e67e6ed0d4587cb96b6..870ec58555e98c466230ef516a2cd87a789af572 100644 (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);