summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-02-05 23:56:56 -0600
committerepoch <epoch@hacking.allowed.org>2020-02-05 23:56:56 -0600
commit5e3edd47fef9a4b8c12be3af24fa79ac40be4687 (patch)
treee820432b05abc15142934181e60d9952861107f2 /src
parentfbcf2248e45c3369a963849aa4981cb283ebe755 (diff)
downloadhackvr-5e3edd47fef9a4b8c12be3af24fa79ac40be4687.tar.gz
hackvr-5e3edd47fef9a4b8c12be3af24fa79ac40be4687.zip
forgot to set stdout to linebuffered in nonblocktail
Diffstat (limited to 'src')
-rw-r--r--src/nonblocktail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nonblocktail.c b/src/nonblocktail.c
index 8b99e64..329f01d 100644
--- a/src/nonblocktail.c
+++ b/src/nonblocktail.c
@@ -11,6 +11,7 @@ void handler(struct shit *me,char *line) {
int main(int argc,char *argv[]) {
int i;
+ setvbuf(stdout,NULL,_IOLBF,0);
for(i=0;i<100;i++) {
idc.fds[i].fd=-1;
}