automerge commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@44184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Automerge script
2006-10-02 18:01:57 +00:00
parent b628bed1c3
commit 1db6355b21

2
io.c
View File

@@ -247,7 +247,7 @@ int ast_io_remove(struct io_context *ioc, int *_id)
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;
}