last commit part 2

This commit is contained in:
Anthony Minessale 2012-06-01 13:28:30 -05:00
parent 75aab0ee6c
commit 6d02716ac5
1 changed files with 1 additions and 1 deletions

View File

@ -1193,7 +1193,7 @@ static char *parse_presence_data_cols(switch_event_t *event)
for (i = 0; i < col_count; i++) {
const char *val = NULL;
switch_snprintfv(col_name, sizeof(col_name), "variable_%q", cols[i]);
switch_snprintfv(col_name, sizeof(col_name), "PD-%q", cols[i]);
val = switch_event_get_header_nil(event, col_name);
if (zstr(val)) {
stream.write_function(&stream, "%q=NULL,", cols[i]);