mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Work around silly macos (bug #2833)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1917,9 +1917,10 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
} else {
|
||||
struct pollfd silly_macos[1];
|
||||
/* Do nothing */
|
||||
for(;;)
|
||||
poll(NULL,0, -1);
|
||||
poll(silly_macos,0, -1);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user