Fixed accidentally deleted call. - sam - An updated version of the sam text edi… | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit a3f16236248f4dceeec1507862720f5a214b72b3 | |
parent a534a4f7c013cf21a4c6bd8e3fc9027257ad83bf | |
Author: Rob King <[email protected]> | |
Date: Tue, 6 Sep 2016 21:40:55 -0500 | |
Fixed accidentally deleted call. | |
Diffstat: | |
rsam/rsam.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/rsam/rsam.c b/rsam/rsam.c | |
@@ -86,7 +86,7 @@ main(int argc, char **argv) | |
FD_SET(PARENT_READ, &rfds); | |
nfd = MAX(STDIN_FILENO, MAX(PARENT_READ, fifo)) + 1; | |
- while ((nfd, &rfds, NULL, NULL, NULL) >= 0){ | |
+ while (select(nfd, &rfds, NULL, NULL, NULL) >= 0){ | |
ssize_t count = 0; | |
char buf[8192]; | |