diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-02 18:01:57 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-02 18:01:57 +0000 |
commit | 1bf78cf488cc64da8684f6492e601c5b40b9c1a5 (patch) | |
tree | 07842e5e9855273da9c9ae19a4bb53d3a340916e | |
parent | a523af70ab0316e786d1bf10f77b6de4df69453b (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@44184 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |