dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
file 2006-06-09 19:05:30 +00:00
parent 3eaf4582f1
commit 9b3929df33
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}