Put poll in a loop forever when not doing anything else.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-05-01 03:14:02 +00:00
parent 3d16691c9e
commit b773853b03

View File

@@ -1672,7 +1672,8 @@ int main(int argc, char *argv[])
} else {
/* Do nothing */
poll(NULL,0, -1);
for(;;)
poll(NULL,0, -1);
}
return 0;
}