FS-3194 see comitted patch. I made the function assert rather than tolerate NULL and fixed the imporper usage.

This commit is contained in:
Anthony Minessale committed 2011-03-28 09:49:52 -05:00
1 parent 7bee6d3d77
commit 484a397d88
2 files changed
+9 -1

No files matched your search

+4
View File
@@ -1565,6 +1565,10 @@ SWITCH_DECLARE(char *) switch_event_expand_headers(switch_event_t *event, const
int nv = 0;
char *gvar = NULL;
if (zstr(in)) {
return (char *) in;
}
nv = switch_string_var_check_const(in) || switch_string_has_escaped_data(in);
if (!nv) {