naggy compiler
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4374 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
529e82bdc5
commit
119c10f872
|
@ -735,8 +735,8 @@ SWITCH_DECLARE(void) switch_channel_event_set_data(switch_channel_t *channel, sw
|
|||
char buf[1024];
|
||||
switch_hash_this(hi, &var, NULL, &val);
|
||||
if (var && val) {
|
||||
snprintf(buf, sizeof(buf), "variable_%s", var);
|
||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, buf, "%s", val);
|
||||
snprintf(buf, sizeof(buf), "variable_%s", (char *)var);
|
||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, buf, "%s", (char *)val);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue