mirror of
https://gitee.com/openharmony/third_party_alsa-lib
synced 2024-12-04 22:16:43 +00:00
Get rid of OPEN_MAX
This commit is contained in:
parent
17fe446785
commit
b6134d77c1
@ -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…
Reference in New Issue
Block a user