07eded835b
over NNTP without any access to a news spool file system. NOV is accessed using the XOVER command (INN has this and it is available for nntpd too).
22 lines
613 B
Text
22 lines
613 B
Text
$NetBSD: patch-ab,v 1.5 1999/08/22 22:55:46 kim Exp $
|
|
|
|
--- account.c.orig Fri Jul 3 17:02:18 1998
|
|
+++ account.c Sun Aug 22 18:20:40 1999
|
|
@@ -25,7 +25,7 @@
|
|
extern int errno;
|
|
|
|
struct account {
|
|
- off_t ac_offset; /* offset in acct file */
|
|
+ long ac_offset; /* offset in acct file */
|
|
int ac_found; /* present in acct file */
|
|
|
|
char ac_user[24]; /* user name */
|
|
@@ -204,7 +204,7 @@
|
|
if (ac->ac_found)
|
|
fseek(acctf, ac->ac_offset, 0);
|
|
else
|
|
- fseek(acctf, (off_t)0, 2);
|
|
+ fseek(acctf, (long)0, 2);
|
|
|
|
fprintf(acctf, OUTPUT_FMT,
|
|
ac->ac_user, ac->ac_total, ac->ac_last,
|