aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fdpassing.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fdpassing.c')
-rw-r--r--tests/fdpassing.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/fdpassing.c b/tests/fdpassing.c
index bab6fdc..df4dfb7 100644
--- a/tests/fdpassing.c
+++ b/tests/fdpassing.c
@@ -72,15 +72,17 @@ cmd_echo (assuan_context_t ctx, char *line)
static assuan_error_t
register_commands (assuan_context_t ctx)
{
- static struct {
+ static struct
+ {
const char *name;
- int (*handler)(assuan_context_t, char *line);
- } table[] = {
- { "ECHO", cmd_echo },
- { "INPUT", NULL },
- { "OUTPUT", NULL },
- { NULL }
- };
+ int (*handler) (assuan_context_t, char *line);
+ } table[] =
+ {
+ { "ECHO", cmd_echo },
+ { "INPUT", NULL },
+ { "OUTPUT", NULL },
+ { NULL, NULL }
+ };
int i;
assuan_error_t rc;