# HG changeset patch # User lucabe # Date 1262852684 0 # Node ID 89259491d54156e5bf630e18cd148608b0913fc7 # Parent fc0a32a383d382a36263d3dd83f782c73346aa94 Always set the destination address even if no port was found. Patch by Martin Storsjo (martin AT martin DOT st) diff -r fc0a32a383d3 -r 89259491d541 sdp.c --- a/sdp.c Thu Jan 07 08:11:56 2010 +0000 +++ b/sdp.c Thu Jan 07 08:24:44 2010 +0000 @@ -303,7 +303,7 @@ ttl = 0; if (n_files == 1) { port = sdp_get_address(dst, sizeof(dst), &ttl, ac[0]->filename); - if (port > 0) { + if (dst[0]) { s.dst_addr = dst; s.ttl = ttl; }