]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3847 regression
authorBrian West <brian@freeswitch.org>
Sun, 29 Jan 2012 00:32:35 +0000 (18:32 -0600)
committerBrian West <brian@freeswitch.org>
Sun, 29 Jan 2012 00:32:35 +0000 (18:32 -0600)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 4ac823fe1f1cb3e647bb3ad9109b4f7746ae341a..5f7ba23c57d31917fc7c2c4b53ce1845518ea00b 100644 (file)
@@ -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;
                }
        }