PERFORCE change 109848 for review

Michael Bushkov bushman at FreeBSD.org
Mon Nov 13 13:56:08 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=109848

Change 109848 by bushman at 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));		\
 }									\


More information about the p4-projects mailing list