aboutsummaryrefslogtreecommitdiff
path: root/dpi/bookmarks.c
diff options
context:
space:
mode:
Diffstat (limited to 'dpi/bookmarks.c')
-rw-r--r--dpi/bookmarks.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/dpi/bookmarks.c b/dpi/bookmarks.c
index 3f4049e4..98ab412e 100644
--- a/dpi/bookmarks.c
+++ b/dpi/bookmarks.c
@@ -1727,12 +1727,9 @@ int main(void) {
while (1) {
code = 1;
- if ((tok = a_Dpip_dsh_read_token(sh)) != NULL) {
+ if ((tok = a_Dpip_dsh_read_token(sh, 1)) != NULL) {
/* Let's see what we fished... */
code = Bmsrv_parse_token(sh, tok);
- } else if (sh->status == DPIP_EAGAIN) {
- /* may reach here when the tag size is larger than kernel buffer */
- continue;
}
dFree(tok);