summaryrefslogtreecommitdiffstats
path: root/tinyRTP
diff options
context:
space:
mode:
authorMamadou DIOP <bossiel@yahoo.fr>2016-05-27 19:50:12 +0200
committerMamadou DIOP <bossiel@yahoo.fr>2016-05-27 19:50:12 +0200
commit2167a933b24518c04142fa8bee3736befc76b376 (patch)
tree95c4d6856feac7c85daeecf52a41e0a4c3c42a6f /tinyRTP
parentffcc3bed0ef69ee20c597212e4d108f87f351971 (diff)
downloaddoubango-2167a933b24518c04142fa8bee3736befc76b376.zip
doubango-2167a933b24518c04142fa8bee3736befc76b376.tar.gz
Check RTP IP address nullity
Diffstat (limited to 'tinyRTP')
-rwxr-xr-xtinyRTP/src/trtp_manager.c2
1 files changed, 1 insertions, 1 deletions
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
}
OpenPOWER on IntegriCloud