[asterisk-commits] trunk r33328 - /trunk/apps/app_meetme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jun 9 12:05:31 MST 2006


Author: file
Date: Fri Jun  9 14:05:30 2006
New Revision: 33328

URL: http://svn.digium.com/view/asterisk?rev=33328&view=rev
Log:
Don't double check existence of a variable (issue #7300 reported by foamdino)

Modified:
    trunk/apps/app_meetme.c

Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?rev=33328&r1=33327&r2=33328&view=diff
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Fri Jun  9 14:05:30 2006
@@ -2384,12 +2384,12 @@
 	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;
 	}



More information about the asterisk-commits mailing list