git.samba.org
/
martins
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use common util_file code.
[martins/samba.git]
/
lib
/
util
/
params.c
diff --git
a/lib/util/params.c
b/lib/util/params.c
index 3a9e2b95051123fd7315072999b9e234a5cfeb5c..c03edec272cdfbc4aefb673358be754e82b38ffd 100644
(file)
--- a/
lib/util/params.c
+++ b/
lib/util/params.c
@@
-510,7
+510,7
@@
static myFILE *OpenConfFile( const char *FileName )
ret = talloc(talloc_autofree_context(), myFILE);
if (!ret) return NULL;
- ret->buf = file_load(FileName, &ret->size, ret);
+ ret->buf = file_load(FileName, &ret->size,
0,
ret);
if( NULL == ret->buf )
{
DEBUG( 1,