summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-02 04:46:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:39:46 -0500
commite05728b6693fb5dcac946e2f278dd09193a680c6 (patch)
tree55b2c41663e2500ab779df0e584db553ead7e643
parent1bd715d9155428afee678fd202483e519820c6df (diff)
downloadsamba-e05728b6693fb5dcac946e2f278dd09193a680c6.tar.gz
samba-e05728b6693fb5dcac946e2f278dd09193a680c6.tar.bz2
samba-e05728b6693fb5dcac946e2f278dd09193a680c6.zip
r18000: Get nelem/size args right for x_fwrite.
Jeremy. (This used to be commit f1c5409b9fa201c6d726857b02515167b0d7cef1)
-rw-r--r--source3/libads/kerberos.c2
1 files changed, 1 insertions, 1 deletions
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);