svn commit: samba r18000 - in branches/SAMBA_3_0/source/libads: .

jra at samba.org jra at samba.org
Sat Sep 2 04:46:28 GMT 2006


Author: jra
Date: 2006-09-02 04:46:27 +0000 (Sat, 02 Sep 2006)
New Revision: 18000

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

Log:
Get nelem/size args right for x_fwrite.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/libads/kerberos.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/kerberos.c
===================================================================
--- branches/SAMBA_3_0/source/libads/kerberos.c	2006-09-02 03:42:55 UTC (rev 17999)
+++ branches/SAMBA_3_0/source/libads/kerberos.c	2006-09-02 04:46:27 UTC (rev 18000)
@@ -548,7 +548,7 @@
 		break;
 	}
 
-	if (x_fwrite(file_contents, flen, 1, xfp) != flen) {
+	if (x_fwrite(file_contents, 1, flen, xfp) != flen) {
 		unlink(fname);
 		x_fclose(xfp);
 		TALLOC_FREE(dname);



More information about the samba-cvs mailing list