diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-09 19:05:30 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-09 19:05:30 +0000 |
commit | 9b3929df33ba2f8df197f067bf4596666a164f39 (patch) | |
tree | cc8bd6f8e95fde420ab743bbe8998699b7e0bb97 /apps/app_meetme.c | |
parent | 3eaf4582f16aeecc20ed4c7447dd85a9c33ea938 (diff) |
Don't double check existence of a variable (issue #7300 reported by foamdino)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33328 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index c6588f645..d06d2cd7f 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -2384,12 +2384,12 @@ static int meetmemute(struct mansession *s, struct message *m, int mute) char *userid = astman_get_header(m, "Usernum"); int userno; - if (!confid || ast_strlen_zero(confid)) { + if (ast_strlen_zero(confid)) { astman_send_error(s, m, "Meetme conference not specified"); return 0; } - if (!userid || ast_strlen_zero(userid)) { + if (ast_strlen_zero(userid)) { astman_send_error(s, m, "Meetme user number not specified"); return 0; } |