1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

r16046: Hmmm. I don't fully understand popt, but this is necessary for smbclient to

show a prompt again :-)

James, could you check that this is ok? I think this was part of your Revision
15848.

Thanks,

Volker
(This used to be commit 91534146b4718206f0e2a7f456154a0497277dfd)
This commit is contained in:
Volker Lendecke 2006-06-05 13:00:24 +00:00 committed by Gerald (Jerry) Carter
parent fd1b550851
commit fbd296f2f6

View File

@ -56,7 +56,6 @@ static void set_logfile(poptContext con, const char * arg)
pstr_sprintf(logfile, "%s/log.%s", arg, pname);
lp_set_logfile(logfile);
override_logfile = True;
}
static void popt_common_callback(poptContext con,
@ -104,6 +103,7 @@ static void popt_common_callback(poptContext con,
case 'l':
if (arg) {
set_logfile(con, arg);
override_logfile = True;
pstr_sprintf(dyn_LOGFILEBASE, "%s", arg);
}
break;