mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
r5135: I prepare a clean up in includes.h
metze
(This used to be commit 670e088e94
)
This commit is contained in:
parent
73a0b6ea47
commit
2cb711f39f
@ -23,6 +23,7 @@
|
||||
#include "includes.h"
|
||||
#include "version.h"
|
||||
#include "dynconfig.h"
|
||||
#include "system/filesys.h"
|
||||
#include "system/passwd.h"
|
||||
#include "lib/cmdline/popt_common.h"
|
||||
|
||||
@ -403,7 +404,7 @@ static void popt_common_credentials_callback(poptContext con,
|
||||
snprintf(cmdline_auth_info.username, sizeof(cmdline_auth_info.username),
|
||||
"%s$", lp_netbios_name());
|
||||
pstrcpy(cmdline_auth_info.password,opt_password);
|
||||
SAFE_FREE(opt_password);
|
||||
free(opt_password);
|
||||
cmdline_auth_info.got_pass = True;
|
||||
|
||||
pstrcpy(cmdline_auth_info.domain, lp_workgroup());
|
||||
|
@ -21,6 +21,8 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef HAVE_LIBREADLINE
|
||||
# ifdef HAVE_READLINE_READLINE_H
|
||||
# include <readline/readline.h>
|
||||
|
Loading…
Reference in New Issue
Block a user