[asterisk-commits] tilghman: branch 1.6.2 r263587 - /branches/1.6.2/main/app.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 17 13:44:58 CDT 2010


Author: tilghman
Date: Mon May 17 13:44:53 2010
New Revision: 263587

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=263587
Log:
Don't close 'n', just close 'above_n'.
(closes issue #17345)
 Reported by: wdoekes

Modified:
    branches/1.6.2/main/app.c

Modified: branches/1.6.2/main/app.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/app.c?view=diff&rev=263587&r1=263586&r2=263587
==============================================================================
--- branches/1.6.2/main/app.c (original)
+++ branches/1.6.2/main/app.c Mon May 17 13:44:53 2010
@@ -2010,7 +2010,7 @@
 			if (entry->d_name[0] == '.') {
 				continue;
 			}
-			if ((x = strtol(entry->d_name, &result, 10)) && x >= n) {
+			if ((x = strtol(entry->d_name, &result, 10)) && x > n) {
 				close(x);
 			}
 		}




More information about the asterisk-commits mailing list