aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-handler.c')
-rw-r--r--src/assuan-handler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/assuan-handler.c b/src/assuan-handler.c
index 2a80596..b940bfd 100644
--- a/src/assuan-handler.c
+++ b/src/assuan-handler.c
@@ -141,7 +141,7 @@ std_handler_reset (assuan_context_t ctx, char *line)
static int
std_handler_help (assuan_context_t ctx, char *line)
{
- int i;
+ unsigned int i;
char buf[ASSUAN_LINELENGTH];
for (i = 0; i < ctx->cmdtbl_used; i++)
@@ -251,10 +251,10 @@ static struct {
{ "END", std_handler_end, 1 },
{ "HELP", std_handler_help, 1 },
- { "INPUT", std_handler_input },
- { "OUTPUT", std_handler_output },
+ { "INPUT", std_handler_input, 0 },
+ { "OUTPUT", std_handler_output, 0 },
{ "OPTION", std_handler_option, 1 },
- { NULL }
+ { NULL, NULL, 0 }
};