diff options
author | Nick Mathewson <nickm@torproject.org> | 2002-09-03 18:44:24 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2002-09-03 18:44:24 +0000 |
commit | fdb31225b7206fdd35d62d00b5369ac81691003b (patch) | |
tree | 7e8aebcbca6d607a3e0922083c0f81dde539ebfc /src/or/main.c | |
parent | 8878d8cc27d94839053063aa8925d6f2620f4c20 (diff) | |
download | tor-fdb31225b7206fdd35d62d00b5369ac81691003b.tar tor-fdb31225b7206fdd35d62d00b5369ac81691003b.tar.gz |
Port to MacOS X
svn:r88
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index 2b9fefa52..f755c4fd8 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -12,8 +12,9 @@ int global_role; static connection_t *connection_array[MAXCONNECTIONS] = { NULL }; -static struct pollfd poll_array[MAXCONNECTIONS] = - { [0 ... MAXCONNECTIONS-1] = { -1, 0, 0 } }; +static struct pollfd poll_array[MAXCONNECTIONS]; +/* = { [0 ... MAXCONNECTIONS-1] = { -1, 0, 0 } }; + */ static int nfds=0; /* number of connections currently active */ |