]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
up assert vaule on header loop detection to 1 meeeeelyonne for hmmhesegs
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 13 Jan 2011 16:03:00 +0000 (10:03 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 13 Jan 2011 16:03:12 +0000 (10:03 -0600)
src/switch_event.c

index 3941fabe1ec34a355f0edeb0fcf1624f4c736511..003fc8229629891c84e53bc5309694782e2cf89e 100644 (file)
@@ -744,7 +744,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_del_header_val(switch_event_t *even
                tp = tp->next;
 
                x++;
-               switch_assert(x < 1000);
+               switch_assert(x < 1000000);
                hash = switch_ci_hashfunc_default(header_name, &hlen);
 
                if ((!hp->hash || hash == hp->hash) && !strcasecmp(header_name, hp->name) && (zstr(val) || !strcmp(hp->value, val))) {