optimizations and disable the conditional thing till we see why it dies at 100cps X 800 calls

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2708 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2006-09-15 21:43:18 +00:00
1 parent 9efc687d7a
commit aa2a793e28
6 files changed
+117 -152

No files matched your search

+1 -3
View File
@@ -204,9 +204,7 @@ SWITCH_DECLARE(int) switch_socket_waitfor(switch_pollfd_t *poll, int ms)
{
int nsds = 0;
if (switch_poll(poll, 1, &nsds, ms) != SWITCH_STATUS_SUCCESS) {
return -1;
}
switch_poll(poll, 1, &nsds, ms);
return nsds;
}