mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
uninitialized var.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6431 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
d79d8ba65c
commit
6da59b6307
1 file changed
+2
-2
@@ -43,7 +43,7 @@ SWITCH_MODULE_DEFINITION(mod_commands, mod_commands_load, NULL, NULL);
|
||||
|
||||
SWITCH_STANDARD_API(find_user_function)
|
||||
{
|
||||
switch_xml_t x_domain, x_user, xml = NULL;
|
||||
switch_xml_t x_domain = NULL, x_user = NULL, xml = NULL;
|
||||
int argc;
|
||||
char *mydata = NULL, *argv[3];
|
||||
char *key, *user, *domain;
|
||||
@@ -81,7 +81,7 @@ SWITCH_STANDARD_API(find_user_function)
|
||||
|
||||
end:
|
||||
|
||||
if (xml) {
|
||||
if (xml && x_user) {
|
||||
xmlstr = switch_xml_toxml(x_user);
|
||||
assert(xmlstr);
|
||||
if ((xs = strstr(xmlstr, "?>"))) {
|
||||
|
||||
Reference in new issue
Block a user