From: Anthony Minessale Date: Tue, 9 Mar 2010 16:36:40 +0000 (+0000) Subject: MODENDP-297 X-Git-Tag: v1.0.6~195 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f31e90a61c9f64994cbab4c3e4564d3024a75741;p=thirdparty%2Ffreeswitch.git MODENDP-297 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16953 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_stun.c b/src/switch_stun.c index 637be50e91..89e42e0b17 100644 --- a/src/switch_stun.c +++ b/src/switch_stun.c @@ -459,7 +459,7 @@ SWITCH_DECLARE(switch_status_t) switch_stun_lookup(char **ip, switch_assert(err); - if (!strcmp(*err, "funny")) { + if (*err && !strcmp(*err, "funny")) { funny = 1; }