about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTRules.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTRules.c')
-rw-r--r--WWW/Library/Implementation/HTRules.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/HTRules.c b/WWW/Library/Implementation/HTRules.c
index d4dd6eed..3f129f16 100644
--- a/WWW/Library/Implementation/HTRules.c
+++ b/WWW/Library/Implementation/HTRules.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTRules.c,v 1.37 2009/01/25 22:42:28 tom Exp $
+ * $LynxId: HTRules.c,v 1.38 2009/02/01 21:19:02 tom Exp $
  *
  *	Configuration manager for Hypertext Daemon		HTRules.c
  *	==========================================
@@ -457,7 +457,7 @@ int HTSetConfiguration(char *config)
     const char *cond_op = NULL;
     const char *cond = NULL;
     float quality, secs, secs_per_byte;
-    off_t maxbytes;
+    long maxbytes;
     int status;
 
     StrAllocCopy(line, config);
@@ -510,7 +510,7 @@ int HTSetConfiguration(char *config)
 		    status = 2;
 		    if (LYscanFloat2(&temp, &secs_per_byte)) {
 			status = 3;
-			if (sscanf(temp, "%" SCN_off_t, &maxbytes)) {
+			if (sscanf(temp, "%ld", &maxbytes)) {
 			    status = 4;
 			}
 		    }
@@ -522,7 +522,7 @@ int HTSetConfiguration(char *config)
 			  status >= 1 ? quality : 1.0,
 			  status >= 2 ? secs : 0.0,
 			  status >= 3 ? secs_per_byte : 0.0,
-			  status >= 4 ? (long) maxbytes : 0,
+			  status >= 4 ? maxbytes : 0,
 			  mediaCFG);
 
     } else if (0 == strncasecomp(word1, "htbin", 5) ||
e63fcb19d430daf9b1c723c'>c88b9e31 ^
b0f89e4f ^
c498f6cd ^
c442a5ad ^

c498f6cd ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^



c442a5ad ^

54ed56f2 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^


c442a5ad ^
5cec03b4 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^


c442a5ad ^

54ed56f2 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^

c442a5ad ^

54ed56f2 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^

c442a5ad ^


54ed56f2 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^

c442a5ad ^
630433cd ^
c498f6cd ^
2ec6d1e5 ^
c442a5ad ^
2ec6d1e5 ^


c442a5ad ^
2ec6d1e5 ^
95fbb9bf ^

e0d71f95 ^

5cec03b4 ^





a754efc5 ^
5cec03b4 ^


a754efc5 ^
5cec03b4 ^





a754efc5 ^
5cec03b4 ^


2ec6d1e5 ^

c88b9e31 ^
d5d43e04 ^
2ec6d1e5 ^
d5d43e04 ^
2ec6d1e5 ^
d5d43e04 ^
44fdc79f ^
d5d43e04 ^
6362c51d ^
44fdc79f ^
6362c51d ^

d5d43e04 ^

2ec6d1e5 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128