diff options
author | Linus Nordberg <linus@nordu.net> | 2011-04-04 13:09:30 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-04-04 13:09:30 +0200 |
commit | a6403e16f7166976ea2267aeb2b4644e23cc36b9 (patch) | |
tree | 6c8655b5d010ab28e496935da78fd8127fb1cece | |
parent | 010285e8814349c31ffb04f7ed0f3c0e3a3c878c (diff) |
Formatting changes.
-rw-r--r-- | radsecproxy.c | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 8ea990e..5856113 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -2660,22 +2660,23 @@ int confclient_cb(struct gconffile **cf, void *arg, char *block, char *opt, char memset(conf, 0, sizeof(struct clsrvconf)); conf->certnamecheck = 1; - if (!getgenericconfig(cf, block, - "type", CONF_STR, &conftype, - "host", CONF_MSTR, &conf->hostsrc, - "secret", CONF_STR, &conf->secret, + if (!getgenericconfig( + cf, block, + "type", CONF_STR, &conftype, + "host", CONF_MSTR, &conf->hostsrc, + "secret", CONF_STR, &conf->secret, #if defined(RADPROT_TLS) || defined(RADPROT_DTLS) - "tls", CONF_STR, &conf->tls, - "matchcertificateattribute", CONF_STR, &conf->matchcertattr, - "CertificateNameCheck", CONF_BLN, &conf->certnamecheck, + "tls", CONF_STR, &conf->tls, + "matchcertificateattribute", CONF_STR, &conf->matchcertattr, + "CertificateNameCheck", CONF_BLN, &conf->certnamecheck, #endif - "DuplicateInterval", CONF_LINT, &dupinterval, - "addTTL", CONF_LINT, &addttl, - "rewrite", CONF_STR, &rewriteinalias, - "rewriteIn", CONF_STR, &conf->confrewritein, - "rewriteOut", CONF_STR, &conf->confrewriteout, - "rewriteattribute", CONF_STR, &conf->confrewriteusername, - NULL + "DuplicateInterval", CONF_LINT, &dupinterval, + "addTTL", CONF_LINT, &addttl, + "rewrite", CONF_STR, &rewriteinalias, + "rewriteIn", CONF_STR, &conf->confrewritein, + "rewriteOut", CONF_STR, &conf->confrewriteout, + "rewriteattribute", CONF_STR, &conf->confrewriteusername, + NULL )) debugx(1, DBG_ERR, "configuration error"); |