svn commit: samba r24609 - in branches: SAMBA_3_2/source/lib
SAMBA_3_2_0/source/lib
obnox at samba.org
obnox at samba.org
Tue Aug 21 21:55:52 GMT 2007
Author: obnox
Date: 2007-08-21 21:55:51 +0000 (Tue, 21 Aug 2007)
New Revision: 24609
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24609
Log:
Fix the fix of r23668 for win2k giving one zero byte
instead of a 2-byte zero character. I can't recall what
rode me when I put that "2" there. But now I think I
have got it right... :-)
Michael
Modified:
branches/SAMBA_3_2/source/lib/util_reg_api.c
branches/SAMBA_3_2_0/source/lib/util_reg_api.c
Changeset:
Modified: branches/SAMBA_3_2/source/lib/util_reg_api.c
===================================================================
--- branches/SAMBA_3_2/source/lib/util_reg_api.c 2007-08-21 21:27:37 UTC (rev 24608)
+++ branches/SAMBA_3_2/source/lib/util_reg_api.c 2007-08-21 21:55:51 UTC (rev 24609)
@@ -61,7 +61,7 @@
err = WERR_NOMEM;
goto error;
}
- tmp[0] = 2;
+ tmp[0] = 0;
tmp[1] = 0;
}
else if ((length % 2) != 0) {
Modified: branches/SAMBA_3_2_0/source/lib/util_reg_api.c
===================================================================
--- branches/SAMBA_3_2_0/source/lib/util_reg_api.c 2007-08-21 21:27:37 UTC (rev 24608)
+++ branches/SAMBA_3_2_0/source/lib/util_reg_api.c 2007-08-21 21:55:51 UTC (rev 24609)
@@ -61,7 +61,7 @@
err = WERR_NOMEM;
goto error;
}
- tmp[0] = 2;
+ tmp[0] = 0;
tmp[1] = 0;
}
else if ((length % 2) != 0) {
More information about the samba-cvs
mailing list