summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-12-12 12:21:17 +0100
committerLinus Nordberg <linus@nordu.net>2011-12-12 12:21:17 +0100
commit56699476c1abf0105c368c8a1eae5080f1e25a86 (patch)
tree9af245e0b6a3a5f3787194b69a2a4cb921a0712e /radsecproxy.c
parente581fc5e5bc3db848dcc947e0abda23aa5138989 (diff)
cosmetics
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 426b65b..e780b96 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1668,7 +1668,7 @@ void replyh(struct server *server, unsigned char *buf) {
}
#if defined(WANT_FTICKS)
- if (msg->code == RAD_Access_Accept || msg->code == RAD_Access_Reject)
+ if (msg->code == RAD_Access_Accept || msg->code == RAD_Access_Reject)
if (options.fticks_reporting && from->conf->fticks_viscountry != NULL)
fticks_log(&options, from, msg, rqout);
#endif
@@ -3082,7 +3082,7 @@ void getmainconfig(const char *configfile) {
#endif
"Rewrite", CONF_CBK, confrewrite_cb, NULL,
#if defined(WANT_FTICKS)
- "FTicksSyslogFacility", CONF_STR, &options.ftickssyslogfacility,
+ "FTicksSyslogFacility", CONF_STR, &options.ftickssyslogfacility,
"FTicksReporting", CONF_STR, &fticks_reporting_str,
"FTicksMAC", CONF_STR, &fticks_mac_str,
"FTicksKey", CONF_STR, &fticks_key_str,
@@ -3241,12 +3241,14 @@ int radsecproxy_main(int argc, char **argv) {
else if (options.loglevel)
debug_set_level(options.loglevel);
if (!foreground) {
- debug_set_destination(options.logdestination ? options.logdestination : "x-syslog:///", DEBUG_LOG);
+ debug_set_destination(options.logdestination
+ ? options.logdestination
+ : "x-syslog:///", DEBUG_LOG);
#if defined(WANT_FTICKS)
if (options.ftickssyslogfacility) {
- debug_set_destination(options.ftickssyslogfacility, FTICKS_LOG);
- free(options.ftickssyslogfacility);
- }
+ debug_set_destination(options.ftickssyslogfacility, FTICKS_LOG);
+ free(options.ftickssyslogfacility);
+ }
#endif
}
free(options.logdestination);