Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2006 17:18:16 GMT
From:      Michael Bushkov <bushman@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 110295 for review
Message-ID:  <200611211718.kALHIGab068605@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110295

Change 110295 by bushman@bushman_nss_ldap_cached on 2006/11/20 13:42:55

	get**ent() calls should always return NULL after the end of the items
	list is reached. New session should be opened only after set**ent() call. 

Affected files ...

.. //depot/projects/soc2006/nss_ldap_cached/src/lib/libc/net/nscache.c#6 edit

Differences ...

==== //depot/projects/soc2006/nss_ldap_cached/src/lib/libc/net/nscache.c#6 (text) ====

@@ -361,9 +361,6 @@
 			res = 0;
 	} else {
 		free(buffer);
-		__close_cached_mp_read_session(rs);
-		rs = INVALID_CACHED_MP_READ_SESSION;
-		cache_info->set_mp_rs_func(rs);
 		return (res == -1 ? NS_RETURN : NS_UNAVAIL);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611211718.kALHIGab068605>