From 1445773429d3711417fd8fb4e38a58e61a8f0049 Mon Sep 17 00:00:00 2001 From: leitner Date: Fri, 26 Apr 2002 10:30:30 +0000 Subject: [PATCH] Fix copy&paste error (found by Juergen Brauckmann) --- scan_ldapsearchrequest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan_ldapsearchrequest.c b/scan_ldapsearchrequest.c index 312fcb2..a3f142f 100644 --- a/scan_ldapsearchrequest.c +++ b/scan_ldapsearchrequest.c @@ -15,7 +15,7 @@ int scan_ldapsearchrequest(const char* src,const char* max, res+=tmp; if (!(tmp=scan_asn1INTEGER(src+res,max,&s->timeLimit))) goto error; res+=tmp; - if (!(tmp=scan_asn1BOOLEAN(src+res,max,&s->timeLimit))) goto error; + if (!(tmp=scan_asn1BOOLEAN(src+res,max,&s->typesOnly))) goto error; res+=tmp; if (!(tmp=scan_ldapsearchfilter(src+res,max,&s->filter))) goto error; res+=tmp;