mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Fixing an erroneous return value returned when attempting to pause or unpause a queue member
fails. Fixes BE-366, thanks to John Bigelow for writing the patch. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3444,7 +3444,7 @@ static int pqm_exec(struct ast_channel *chan, void *data)
|
|||||||
}
|
}
|
||||||
ast_module_user_remove(lu);
|
ast_module_user_remove(lu);
|
||||||
pbx_builtin_setvar_helper(chan, "PQMSTATUS", "NOTFOUND");
|
pbx_builtin_setvar_helper(chan, "PQMSTATUS", "NOTFOUND");
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ast_module_user_remove(lu);
|
ast_module_user_remove(lu);
|
||||||
@@ -3497,7 +3497,7 @@ static int upqm_exec(struct ast_channel *chan, void *data)
|
|||||||
}
|
}
|
||||||
ast_module_user_remove(lu);
|
ast_module_user_remove(lu);
|
||||||
pbx_builtin_setvar_helper(chan, "UPQMSTATUS", "NOTFOUND");
|
pbx_builtin_setvar_helper(chan, "UPQMSTATUS", "NOTFOUND");
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ast_module_user_remove(lu);
|
ast_module_user_remove(lu);
|
||||||
|
Reference in New Issue
Block a user