diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-20 00:28:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:58:52 -0500 |
commit | 18cddd580e04344e05593d9f63beb9ead53cfab2 (patch) | |
tree | 7e49547cc37afcf2f3b974bf21d3bfd3ebcdfb20 /source4/lib/util/debug.c | |
parent | 679a993329fddc320e4c67d2b66b5874c189b142 (diff) | |
download | samba-18cddd580e04344e05593d9f63beb9ead53cfab2.tar.gz samba-18cddd580e04344e05593d9f63beb9ead53cfab2.tar.bz2 samba-18cddd580e04344e05593d9f63beb9ead53cfab2.zip |
r14575: Move some path-related functions to libsamba-config so libsamba-util
doesn't have to depend on the lp_* functions.
(This used to be commit f97df7d90a41b77a9edd2d6bdc47c27bf1b6bb07)
Diffstat (limited to 'source4/lib/util/debug.c')
-rw-r--r-- | source4/lib/util/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/util/debug.c b/source4/lib/util/debug.c index 2c40064b75..fa781c823a 100644 --- a/source4/lib/util/debug.c +++ b/source4/lib/util/debug.c @@ -117,12 +117,13 @@ _PUBLIC_ void do_debug(const char *format, ...) _PRINTF_ATTRIBUTE(1,2) free(s); } +_PUBLIC_ const char *logfile = NULL; + /** reopen the log file (usually called because the log file name might have changed) */ _PUBLIC_ void reopen_logs(void) { - const char *logfile = lp_logfile(); char *fname = NULL; int old_fd = state.fd; |