summaryrefslogtreecommitdiff
path: root/aserver
diff options
context:
space:
mode:
authorAbramo Bagnara <abramo@alsa-project.org>2000-12-04 23:08:44 +0000
committerAbramo Bagnara <abramo@alsa-project.org>2000-12-04 23:08:44 +0000
commitb6134d77c1019e49a9f6698ce5a6f07932cc16ea (patch)
treee9b41a0b811b1a7dc924c4049f13d410025000d1 /aserver
parent17fe446785725fe7270a1805ded00e451bf4e54d (diff)
Get rid of OPEN_MAX
Diffstat (limited to 'aserver')
-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);