summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-20 23:38:34 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-20 23:38:34 +0200
commit26486b46eada232ef807f3d969ffdec33d5e4858 (patch)
tree53341b158b872c28056e322c2a4c9bcd00db3239 /main.c
parent6f19c791d4fe0d9a6c59ebecb26156f17e80eb75 (diff)
try to grab log data more aggressively
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 4282e4a..bed0edd 100644
--- a/main.c
+++ b/main.c
@@ -129,7 +129,7 @@ retry:
}
proc->log_buf_ofs = len;
- if (read_len == maxlen)
+ if (read_len > 0)
goto retry;
out: