diff options
author | venaas <venaas> | 2007-01-04 13:56:54 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-01-04 13:56:54 +0000 |
commit | 55a8e96d71e33b84351773d42d5d146fd35fe363 (patch) | |
tree | d60317b1dec58f72b04ac84724115ad352e1c8ab | |
parent | c32535c9631f7e408647638aebcb71dc9849308f (diff) |
fixed minor bugs
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@25 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r-- | radsecproxy.c | 3 |
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); |