git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the char[1024] strings from dynconfig. Replace
[kai/samba.git]
/
source3
/
nmbd
/
nmbd_winsserver.c
diff --git
a/source3/nmbd/nmbd_winsserver.c
b/source3/nmbd/nmbd_winsserver.c
index 7344a29fe411d78cf4317e61fdb883f60e5945e4..96938b011a26c05d888653dc003f27477baa2df7 100644
(file)
--- a/
source3/nmbd/nmbd_winsserver.c
+++ b/
source3/nmbd/nmbd_winsserver.c
@@
-2366,7
+2366,7
@@
void wins_write_database(time_t t, bool background)
}
}
- if (asprintf(&fname, "%s/%s", dyn_STATEDIR(), WINS_LIST) < 0) {
+ if (asprintf(&fname, "%s/%s",
get_
dyn_STATEDIR(), WINS_LIST) < 0) {
goto err_exit;
}
/* This is safe as the 0 length means "don't expand". */