summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-12-20 22:27:05 +0000
committerJeremy Allison <jra@samba.org>2001-12-20 22:27:05 +0000
commit0bea6cf79a44f79fa3a4f2c8381e898e79c66509 (patch)
treef133d2b79db55d39f20457fc03b293adee0482e6 /source/client
parentfe7ad3761233f7adb13756d611a11dbf0594b77f (diff)
downloadsamba-0bea6cf79a44f79fa3a4f2c8381e898e79c66509.tar.gz
samba-0bea6cf79a44f79fa3a4f2c8381e898e79c66509.tar.xz
samba-0bea6cf79a44f79fa3a4f2c8381e898e79c66509.zip
Removed global debugf. Replaced with lp_set_logfile(name).
Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy.
Diffstat (limited to 'source/client')
-rw-r--r--source/client/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 52c032e1309..a5654a0eafb 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -63,8 +63,6 @@ static int cmd_help(void);
time_t newer_than = 0;
int archive_level = 0;
-extern pstring debugf;
-
BOOL translation = False;
static BOOL have_ip;
@@ -2402,6 +2400,7 @@ static int do_message_op(void)
extern char tar_type;
pstring term_code;
pstring new_name_resolve_order;
+ pstring logfile;
char *p;
int rc = 0;
@@ -2569,7 +2568,8 @@ static int do_message_op(void)
port = atoi(optarg);
break;
case 'l':
- slprintf(debugf,sizeof(debugf)-1, "%s.client",optarg);
+ slprintf(logfile,sizeof(logfile)-1, "%s.client",optarg);
+ lp_set_logfile(logfile);
break;
case 'h':
usage(pname);