diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-11-01 16:31:59 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-11-01 16:31:59 -0300 |
commit | 29ea3975335bad3fa72afe8c1724d1d00355c396 (patch) | |
tree | df3d82747440f974b2803470be35ebfcf9eae15f /dpi/bookmarks.c | |
parent | b643ca0bd58188da3dc98193f97fb220ab008983 (diff) |
Implemented the file dpi based on select() (removed its pthreads dependency)
It should be faster and use less resources.
Diffstat (limited to 'dpi/bookmarks.c')
-rw-r--r-- | dpi/bookmarks.c | 5 |
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); |