mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
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:
@@ -1672,7 +1672,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
} else {
|
||||
/* Do nothing */
|
||||
poll(NULL,0, -1);
|
||||
for(;;)
|
||||
poll(NULL,0, -1);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user