[asterisk-commits] qwell: trunk r101869 - /trunk/apps/app_authenticate.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 1 12:24:52 CST 2008


Author: qwell
Date: Fri Feb  1 12:24:52 2008
New Revision: 101869

URL: http://svn.digium.com/view/asterisk?view=rev&rev=101869
Log:
Comparison, not set :)  Thanks mvanbaak.

Modified:
    trunk/apps/app_authenticate.c

Modified: trunk/apps/app_authenticate.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_authenticate.c?view=diff&rev=101869&r1=101868&r2=101869
==============================================================================
--- trunk/apps/app_authenticate.c (original)
+++ trunk/apps/app_authenticate.c Fri Feb  1 12:24:52 2008
@@ -159,7 +159,7 @@
 					continue;
 
 				len = strlen(buf) - 1;
-				if (buf[len - 1] = '\n')
+				if (buf[len - 1] == '\n')
 					buf[len - 1] = '\0';
 
 				if (ast_test_flag(&flags, OPT_MULTIPLE)) {




More information about the asterisk-commits mailing list