fix for Darwin/OSX (bug #2833)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2004-11-12 14:03:42 +00:00
parent bdabdcbf1e
commit ac659af3ea

View File

@@ -1913,9 +1913,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;
}