mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -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) {
|
||||
struct pollfd pfds[OPEN_MAX];
|
||||
struct pollfd pfds[open_max];
|
||||
size_t pfds_count;
|
||||
do {
|
||||
err = poll(pollfds, pollfds_count, -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue