fix build: format not a string literal and no format arguments

This commit is contained in:
Seven Du 2012-10-12 09:16:02 +08:00
parent 188e0bd333
commit ff7def219f
1 changed files with 1 additions and 1 deletions

View File

@ -1507,7 +1507,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_create_array_pair(switch_event_t **
name = "Unknown";
}
switch_event_add_header(*event, SWITCH_STACK_BOTTOM, name, val);
switch_event_add_header_string(*event, SWITCH_STACK_BOTTOM, name, val);
}
return SWITCH_STATUS_SUCCESS;