projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce para_select()
[paraslash.git]
/
audioc.c
diff --git
a/audioc.c
b/audioc.c
index 968f84b6fcd3c6960b2dbf4e2009297e8fd1028c..93e91178907dd71a2fcb9761b64da9852e42be35 100644
(file)
--- a/
audioc.c
+++ b/
audioc.c
@@
-22,6
+22,7
@@
#include "para.h"
#include "net.h"
#include "string.h"
#include "para.h"
#include "net.h"
#include "string.h"
+#include "fd.h"
struct gengetopt_args_info conf;
char *tmpfifo;
struct gengetopt_args_info conf;
char *tmpfifo;
@@
-130,7
+131,7
@@
int main(int argc, char *argv[])
ret = -E_OVERRUN;
if (max_fileno < 0)
goto out;
ret = -E_OVERRUN;
if (max_fileno < 0)
goto out;
- ret =
select(max_fileno + 1, &rfd, &wfd, NULL
, NULL);
+ ret =
para_select(max_fileno + 1, &rfd, &wfd
, NULL);
if (ret < 0) {
ret = -E_SELECT;
goto out;
if (ret < 0) {
ret = -E_SELECT;
goto out;