Fixed accidentally deleted call. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit a3f16236248f4dceeec1507862720f5a214b72b3
(DIR) parent a534a4f7c013cf21a4c6bd8e3fc9027257ad83bf
(HTM) Author: Rob King <jking@deadpixi.com>
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(-)
---
(DIR) 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];