From: Joshua Colp Date: Fri, 9 Jun 2006 19:05:30 +0000 (+0000) Subject: Don't double check existence of a variable (issue #7300 reported by foamdino) X-Git-Tag: 1.4.0-beta1~958 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcab298cfcd2e7a31767b100827161f139b0310f;p=thirdparty%2Fasterisk.git Don't double check existence of a variable (issue #7300 reported by foamdino) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33328 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index c6588f6458..d06d2cd7f3 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; }