From: Ken Rice Date: Fri, 27 Nov 2015 16:39:38 +0000 (-0600) Subject: FS-8582 #resolve make sure the URL being passed here is not null X-Git-Tag: v1.6.6~1^2~72^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ca223f822c24e395be1ef53e323239d5cd9812;p=thirdparty%2Ffreeswitch.git FS-8582 #resolve make sure the URL being passed here is not null --- diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index 93a70972f8..62055d736f 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -2206,7 +2206,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session) var = switch_event_get_header(client->params, "url"); - if (client->record.action) { + if (var && client->record.action) { if (strcmp(var, client->record.action)) { switch_event_add_header_string(client->one_time_params, SWITCH_STACK_BOTTOM, "url", client->record.action); httapi_sync(client);