[svn-commits] file: branch 1.4 r44169 - in /branches/1.4: ./ main/io.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Oct 2 10:25:13 MST 2006


Author: file
Date: Mon Oct  2 12:25:13 2006
New Revision: 44169

URL: http://svn.digium.com/view/asterisk?rev=44169&view=rev
Log:
Merged revisions 44168 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r44168 | file | 2006-10-02 13:22:27 -0400 (Mon, 02 Oct 2006) | 2 lines

Shrink when current_ioc is unused. It is set to -1 when unused, not 0. (issue #7941 reported by eclubb)

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/main/io.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/main/io.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/io.c?rev=44169&r1=44168&r2=44169&view=diff
==============================================================================
--- branches/1.4/main/io.c (original)
+++ branches/1.4/main/io.c Mon Oct  2 12:25:13 2006
@@ -242,7 +242,7 @@
 			ioc->fds[x].events = 0;
 			ioc->fds[x].revents = 0;
 			ioc->needshrink = 1;
-			if (!ioc->current_ioc)
+			if (ioc->current_ioc == -1)
 				io_shrink(ioc);
 			return 0;
 		}



More information about the svn-commits mailing list