From: Brian West Date: Sun, 29 Jan 2012 00:32:35 +0000 (-0600) Subject: FS-3847 regression X-Git-Tag: v1.2-rc1~19^2~1^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f8d37decfabc9f59a107e79e0d3c2436968a501;p=thirdparty%2Ffreeswitch.git FS-3847 regression --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 4ac823fe1f..5f7ba23c57 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -5145,7 +5145,7 @@ char *sofia_glue_get_url_from_contact(char *buf, uint8_t to_dup) if (*buf == '"') { buf++; - while((e = strchr(buf, '"'))) { + if((e = strchr(buf, '"'))) { buf = e+1; } }