Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 13:55:58 GMT
From:      Michael Bushkov <bushman@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 109848 for review
Message-ID:  <200611131355.kADDtwrU002436@repoman.freebsd.org>

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

Change 109848 by bushman@bushman_nss_ldap_cached on 2006/11/13 13:55:28

	small bug fixed

Affected files ...

.. //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_ldap/hashtable.h#2 edit

Differences ...

==== //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_ldap/hashtable.h#2 (text+ko) ====

@@ -188,6 +188,8 @@
 		data, sizeof(type));					\
 	qsort(the_entry->field.values, the_entry->field.size, 		\
 		sizeof(type), CMP);					\
+									\
+	return (0);							\
 }									\
 									\
 type *name##_ENTRY_FIND(struct entry_ *the_entry, type *key)		\
@@ -200,6 +202,7 @@
 type *name##_ENTRY_FIND_SPECIAL(struct entry_ *the_entry, type *key,	\
 	int (*compar) (const void *, const void *))			\
 {									\
+									\
 	return ((type *)bsearch(key, the_entry->field.values,	 	\
 		the_entry->field.size, sizeof(type), compar));		\
 }									\



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