Work around silly macos (bug #2833)
authorMark Spencer <markster@digium.com>
Thu, 11 Nov 2004 14:43:18 +0000 (14:43 +0000)
committerMark Spencer <markster@digium.com>
Thu, 11 Nov 2004 14:43:18 +0000 (14:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4200 65c4cc65-6c06-0410-ace0-fbb531ad65f3

asterisk.c

index 690ab90..4dcf27a 100755 (executable)
@@ -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;
 }