From e05728b6693fb5dcac946e2f278dd09193a680c6 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 2 Sep 2006 04:46:27 +0000 Subject: r18000: Get nelem/size args right for x_fwrite. Jeremy. (This used to be commit f1c5409b9fa201c6d726857b02515167b0d7cef1) --- source3/libads/kerberos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libads') diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index 79196f87a7..41c1dc00f5 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -548,7 +548,7 @@ BOOL create_local_private_krb5_conf_for_domain(const char *realm, const char *do 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); -- cgit