summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2007-01-04 13:56:54 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-01-04 13:56:54 +0000
commit55a8e96d71e33b84351773d42d5d146fd35fe363 (patch)
treed60317b1dec58f72b04ac84724115ad352e1c8ab /radsecproxy.c
parentc32535c9631f7e408647638aebcb71dc9849308f (diff)
fixed minor bugs
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@25 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 14d4128..f5237a1 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -270,6 +270,7 @@ void tlsconnect(struct server *server, struct timeval *when, char *text) {
time_t elapsed;
unsigned long error;
+ printf("tlsconnect called from %s\n", text);
pthread_mutex_lock(&server->lock);
if (when && memcmp(&server->lastconnecttry, when, sizeof(struct timeval))) {
/* already reconnected, nothing to do */
@@ -998,11 +999,13 @@ void getconfig(const char *serverfile, const char *clientfile) {
int *count;
if (serverfile) {
+ printf("opening file %s for reading\n", serverfile);
f = fopen(serverfile, "r");
if (!f)
errx("getconfig failed to open %s for reading", serverfile);
count = &server_count;
} else {
+ printf("opening file %s for reading\n", clientfile);
f = fopen(clientfile, "r");
if (!f)
errx("getconfig failed to open %s for reading", clientfile);