PERFORCE change 110295 for review
Michael Bushkov
bushman at FreeBSD.org
Tue Nov 21 17:25:06 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=110295
Change 110295 by bushman at 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);
}
More information about the p4-projects
mailing list