From 2167a933b24518c04142fa8bee3736befc76b376 Mon Sep 17 00:00:00 2001 From: Mamadou DIOP Date: Fri, 27 May 2016 19:50:12 +0200 Subject: Check RTP IP address nullity --- tinyRTP/src/trtp_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyRTP/src/trtp_manager.c b/tinyRTP/src/trtp_manager.c index ac4379a..d77770c 100755 --- a/tinyRTP/src/trtp_manager.c +++ b/tinyRTP/src/trtp_manager.c @@ -942,7 +942,7 @@ int trtp_manager_prepare(trtp_manager_t* self) uint8_t retry_count = __retry_count_max; // If local IP is defined then check its address family - if (!tsk_strempty(self->local_ip)) { + if (!tsk_strnullORempty(self->local_ip)) { socket_type = tnet_get_type(self->local_ip, rtp_local_port); // IP address always returns IPv4Only or IPv6Only } -- cgit v1.1