audio/pulseaudio: fix closefrom patch

I pushed the wrong patch the first time

Pointy hat:	bapt
2024Q2
Baptiste Daroussin 2024-04-04 10:10:14 +02:00
parent 9c26f66e0b
commit f624955c58
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
-
+#if defined(__FreeBSD__)
+ maxfd = 0;
+ for (i = 0; except_fds[i] >= 0; i++)
+ for (int i = 0; except_fds[i] >= 0; i++)
+ if (except_fds[i] > maxfd)
+ maxfd = except_fds[i];
+ maxfd++;