summaryrefslogtreecommitdiff
path: root/aserver/aserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'aserver/aserver.c')
-rw-r--r--aserver/aserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c
index b0acfbda..8c07a8dc 100644
--- a/aserver/aserver.c
+++ b/aserver/aserver.c
@@ -896,7 +896,7 @@ int server(char *sockname, int port)
}
while (1) {
- struct pollfd pfds[OPEN_MAX];
+ struct pollfd pfds[open_max];
size_t pfds_count;
do {
err = poll(pollfds, pollfds_count, -1);