index
:
openwrt/netifd
fix-dynamic-routing
master
priority-fix
priority-fix-19.07
OpenWrt Network interface configuration daemon
summary
refs
log
tree
commit
diff
homepage
log msg
author
committer
range
path:
root
/
main.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'main.c')
-rw-r--r--
main.c
2
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: