mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Get rid of OPEN_MAX
This commit is contained in:
parent
17fe446785
commit
b6134d77c1
1 changed files with 1 additions and 1 deletions
|
|
@ -896,7 +896,7 @@ int server(char *sockname, int port)
|
||||||
}
|
}
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
struct pollfd pfds[OPEN_MAX];
|
struct pollfd pfds[open_max];
|
||||||
size_t pfds_count;
|
size_t pfds_count;
|
||||||
do {
|
do {
|
||||||
err = poll(pollfds, pollfds_count, -1);
|
err = poll(pollfds, pollfds_count, -1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue