Move log_server_accept() out from under the #ifdef SUDOERS_LOG_CLIENT
Fixes a link error when sudo is configured with --disable-log-client.
This commit is contained in:
@@ -197,7 +197,6 @@ sudoers_audit_open(unsigned int version, sudo_conv_t conversation,
|
|||||||
debug_return_int(ret);
|
debug_return_int(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SUDOERS_LOG_CLIENT
|
|
||||||
static void
|
static void
|
||||||
audit_to_eventlog(struct eventlog *evlog, char * const command_info[],
|
audit_to_eventlog(struct eventlog *evlog, char * const command_info[],
|
||||||
char * const run_argv[], char * const run_envp[])
|
char * const run_argv[], char * const run_envp[])
|
||||||
@@ -242,6 +241,7 @@ audit_to_eventlog(struct eventlog *evlog, char * const command_info[],
|
|||||||
debug_return;
|
debug_return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SUDOERS_LOG_CLIENT
|
||||||
static bool
|
static bool
|
||||||
log_server_accept(char * const command_info[], char * const run_argv[],
|
log_server_accept(char * const command_info[], char * const run_argv[],
|
||||||
char * const run_envp[])
|
char * const run_envp[])
|
||||||
|
Reference in New Issue
Block a user