From: Adam Dickmeiss Date: Mon, 13 Jul 2009 12:14:40 +0000 (+0200) Subject: Fix rset_default_forward to use scope X-Git-Tag: v2.0.40~1 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=9c100b6f8f06bd61d1f496919d31adc8472ca024;p=idzebra-moved-to-github.git Fix rset_default_forward to use scope --- diff --git a/rset/rset.c b/rset/rset.c index 59d9dfd..114a36e 100644 --- a/rset/rset.c +++ b/rset/rset.c @@ -405,7 +405,7 @@ int rset_default_forward(RSFD rfd, void *buf, TERMID *term, while ((more = rset_read(rfd, buf, term)) > 0) { - if ((rfd->rset->keycontrol->cmp)(untilbuf, buf) <= 1) + if ((rfd->rset->keycontrol->cmp)(untilbuf, buf) < rset->scope) break; } if (log_level)