mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-30 05:36:14 +00:00
[mod_callcenter] Fix use of uninitialized res variable in cc_agent_update()
This commit is contained in:
parent
f348ab9d38
commit
3134c9aa57
@ -998,7 +998,7 @@ cc_status_t cc_agent_update(const char *key, const char *value, const char *agen
|
|||||||
{
|
{
|
||||||
cc_status_t result = CC_STATUS_SUCCESS;
|
cc_status_t result = CC_STATUS_SUCCESS;
|
||||||
char *sql;
|
char *sql;
|
||||||
char res[256];
|
char res[256] = "";
|
||||||
switch_event_t *event;
|
switch_event_t *event;
|
||||||
|
|
||||||
/* Check to see if agent already exist */
|
/* Check to see if agent already exist */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user