From 3c1e9374a350dd3e07aaccaadcc85fa10f065f63 Mon Sep 17 00:00:00 2001 From: leitner Date: Tue, 26 Mar 2002 17:07:21 +0000 Subject: [PATCH] minor speed tweak --- tinyldap.c | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/tinyldap.c b/tinyldap.c index c703200..f45f8b4 100644 --- a/tinyldap.c +++ b/tinyldap.c @@ -453,26 +453,20 @@ int handle(int in,int out) { * of the matches in a table. Use findrec to locate * the records that point to the data. */ useindex(sr.filter,result); - for (i=0; i "); - { - uint32 l; - uint32_unpack(map+j+8,&l); - buffer_puts(buffer_2,map+l); - } - buffer_putsflush(buffer_2,"\n"); -#endif - - if (ldap_match_mapped(j,&sr)) - answerwith(j,&sr,messageid,out); + for (i=0; i