mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Use SUDO_CONV_DEBUG_MSG in the plugin instead of writing
directly to the debug file.
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
#include "alloc.h"
|
||||
#include "error.h"
|
||||
#include "gettext.h"
|
||||
#include "sudo_plugin.h"
|
||||
|
||||
#ifndef LINE_MAX
|
||||
# define LINE_MAX 2048
|
||||
@@ -172,6 +173,8 @@ struct search_node {
|
||||
} u;
|
||||
} *search_expr;
|
||||
|
||||
sudo_conv_t sudo_conv; /* NULL in non-plugin */
|
||||
|
||||
#define STACK_NODE_SIZE 32
|
||||
static struct search_node *node_stack[32];
|
||||
static int stack_top;
|
||||
|
Reference in New Issue
Block a user