mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-21 09:10:36 +00:00
Tweak changes that went in on revision 42891
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -200,13 +200,13 @@ struct ast_module_user *__ast_module_user_add(struct ast_module *mod,
|
|||||||
void __ast_module_user_remove(struct ast_module *mod, struct ast_module_user *u)
|
void __ast_module_user_remove(struct ast_module *mod, struct ast_module_user *u)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (u <= 0) {
|
if (!u) {
|
||||||
ast_log(LOG_ERROR,"ast_module_user invalid can not remove \n");
|
ast_log(LOG_ERROR, "ast_module_user is invalid can not remove\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mod <= 0) {
|
if (!mod) {
|
||||||
ast_log(LOG_ERROR,"ast_module invalid can not remove \n");
|
ast_log(LOG_ERROR, "ast_module is invalid can not remove\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user