svn commit: samba r17219 - in branches/SAMBA_3_0_23/source/lib: .

jra at samba.org jra at samba.org
Mon Jul 24 16:01:13 GMT 2006


Author: jra
Date: 2006-07-24 16:01:13 +0000 (Mon, 24 Jul 2006)
New Revision: 17219

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17219

Log:
Ensure this fix doesn't get missed again in a merge.
Jeremy.

Modified:
   branches/SAMBA_3_0_23/source/lib/smbldap.c


Changeset:
Modified: branches/SAMBA_3_0_23/source/lib/smbldap.c
===================================================================
--- branches/SAMBA_3_0_23/source/lib/smbldap.c	2006-07-24 12:33:03 UTC (rev 17218)
+++ branches/SAMBA_3_0_23/source/lib/smbldap.c	2006-07-24 16:01:13 UTC (rev 17219)
@@ -325,7 +325,7 @@
 		return NULL;
 	}
 
-	if (pull_utf8_talloc(mem_ctx, &result, values[0]) < 0) {
+	if (pull_utf8_talloc(mem_ctx, &result, values[0]) == (size_t)-1) {
 		DEBUG(10, ("pull_utf8_talloc failed\n"));
 		ldap_value_free(values);
 		return NULL;



More information about the samba-cvs mailing list