You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by br...@apache.org on 2002/07/05 02:53:12 UTC
cvs commit: httpd-2.0/modules/aaa mod_auth_digest.c
brianp 2002/07/04 17:53:12
Modified: modules/aaa mod_auth_digest.c
Log:
use new time conversion macros in place of APR_USEC_PER_SEC
Revision Changes Path
1.67 +2 -2 httpd-2.0/modules/aaa/mod_auth_digest.c
Index: mod_auth_digest.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_digest.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- mod_auth_digest.c 12 Jun 2002 22:27:37 -0000 1.66
+++ mod_auth_digest.c 5 Jul 2002 00:53:12 -0000 1.67
@@ -1532,8 +1532,8 @@
ap_log_rerror(APLOG_MARK, APLOG_INFO, 0,r,
"Digest: user %s: nonce expired (%.2f seconds old "
"- max lifetime %.2f) - sending new nonce",
- r->user, ((double)dt)/APR_USEC_PER_SEC,
- ((double)(conf->nonce_lifetime))/APR_USEC_PER_SEC);
+ r->user, (double)apr_time_sec(dt),
+ (double)apr_time_sec(conf->nonce_lifetime));
note_digest_auth_failure(r, conf, resp, 1);
return HTTP_UNAUTHORIZED;
}