1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r18000: Get nelem/size args right for x_fwrite.

Jeremy.
(This used to be commit f1c5409b9f)
This commit is contained in:
Jeremy Allison 2006-09-02 04:46:27 +00:00 committed by Gerald (Jerry) Carter
parent 1bd715d915
commit e05728b669

View File

@ -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);