mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +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 {
|
} else {
|
||||||
/* Do nothing */
|
/* Do nothing */
|
||||||
poll(NULL,0, -1);
|
for(;;)
|
||||||
|
poll(NULL,0, -1);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user