Commit 2aa5af0d authored by venaas's avatar venaas Committed by venaas
Browse files

fix radtlsget log message

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@304 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent 4a8f9595
......@@ -993,7 +993,7 @@ int sslreadtimeout(SSL *ssl, unsigned char *buf, int num, int timeout) {
/* timeout in seconds, 0 means no timeout (blocking) */
unsigned char *radtlsget(SSL *ssl, int timeout) {
int cnt, total, len;
int cnt, len;
unsigned char buf[4], *rad;
for (;;) {
......@@ -1025,7 +1025,7 @@ unsigned char *radtlsget(SSL *ssl, int timeout) {
debug(DBG_WARN, "radtlsget: packet smaller than minimum radius size");
}
debug(DBG_DBG, "radtlsget: got %d bytes", total);
debug(DBG_DBG, "radtlsget: got %d bytes", len);
return rad;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment