22 lines
637 B
Plaintext
22 lines
637 B
Plaintext
$OpenBSD: patch-src_acct_c,v 1.2 2000/09/06 19:05:25 danh Exp $
|
|
--- src/acct.c.orig Fri Aug 18 16:40:30 2000
|
|
+++ src/acct.c Wed Sep 6 14:54:22 2000
|
|
@@ -596,7 +596,7 @@ int rad_accounting_orig(AUTH_REQ *authre
|
|
UINT4 nas;
|
|
NAS *cl;
|
|
int flat = 0;
|
|
- long curtime;
|
|
+ time_t curtime;
|
|
int ret = 0;
|
|
struct stat st;
|
|
|
|
@@ -686,7 +686,7 @@ int rad_accounting_orig(AUTH_REQ *authre
|
|
/*
|
|
* Add non-protocol attibutes.
|
|
*/
|
|
- fprintf(outfd, "\tTimestamp = %ld\n", curtime);
|
|
+ fprintf(outfd, "\tTimestamp = %ld\n", (long) curtime);
|
|
switch(authtype) {
|
|
case 0:
|
|
fputs("\tRequest-Authenticator = Verified\n", outfd);
|