svn commit: samba r6230 - in branches/SAMBA_3_0/source/lib: .

herb at samba.org herb at samba.org
Wed Apr 6 23:50:49 GMT 2005


Author: herb
Date: 2005-04-06 23:50:48 +0000 (Wed, 06 Apr 2005)
New Revision: 6230

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

Log:
don't know how this ever worked! the compiler complained we
were comparing an integer to a pointer and it was right.

Modified:
   branches/SAMBA_3_0/source/lib/util_unistr.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/util_unistr.c
===================================================================
--- branches/SAMBA_3_0/source/lib/util_unistr.c	2005-04-06 23:22:52 UTC (rev 6229)
+++ branches/SAMBA_3_0/source/lib/util_unistr.c	2005-04-06 23:50:48 UTC (rev 6230)
@@ -113,7 +113,7 @@
 	if (len1 == 0) return 0;
 	len2 = convert_string(CH_DOS, CH_UCS2, buf, len1, &c2, 2,False);
 	if (len2 != 2) return 0;
-	return (c == c2);
+	return (c == *c2);
 }
 
 



More information about the samba-cvs mailing list