Lines 1-23
Link Here
|
1 |
--- flute/fdt.c.orig Fri Feb 13 15:58:54 2004 |
1 |
--- flute/fdt.c.orig Wed Mar 3 12:48:53 2004 |
2 |
+++ flute/fdt.c Fri Feb 13 15:58:54 2004 |
2 |
+++ flute/fdt.c Wed Mar 3 12:49:38 2004 |
3 |
@@ -113,14 +113,14 @@ |
3 |
@@ -114,7 +114,7 @@ |
4 |
#ifdef WIN32 |
4 |
#ifdef WIN32 |
5 |
file->file_len = _atoi64(*(++atts)); |
5 |
file->file_len = _atoi64(*(++atts)); |
6 |
#else |
6 |
#else |
7 |
- file->file_len = atoll(*(++atts)); |
7 |
- file->file_len = atoll(*(++atts)); |
8 |
+ file->file_len = strtoll(*(++atts), NULL, 10); |
8 |
+ file->file_len = strtoll(*(++atts), NULL, 10); |
9 |
#endif |
9 |
#endif |
10 |
} |
10 |
if(file->toi_len == 0) { |
11 |
else if(!strcmp(*atts, "Transfer-Length")) { |
11 |
file->toi_len = file->file_len; |
|
|
12 |
@@ -125,7 +125,7 @@ |
12 |
#ifdef WIN32 |
13 |
#ifdef WIN32 |
13 |
file->toi_len = _atoi64(*(++atts)); |
14 |
file->toi_len = _atoi64(*(++atts)); |
14 |
#else |
15 |
#else |
15 |
- file->toi_len = atoll(*(++atts)); |
16 |
- file->toi_len = atoll(*(++atts)); |
16 |
+ file->toi_len = strtoll(*(++atts),NULL, 10); |
17 |
+ file->toi_len = strtoll(*(++atts), NULL, 10); |
17 |
#endif |
18 |
#endif |
18 |
} |
19 |
} |
19 |
else if(!strcmp(*atts, "Content-Type")) { |
20 |
else if(!strcmp(*atts, "Content-Type")) { |
20 |
@@ -179,7 +179,7 @@ |
21 |
@@ -184,7 +184,7 @@ |
21 |
#ifdef WIN32 |
22 |
#ifdef WIN32 |
22 |
fdt->expires = _atoi64(*(++atts)); |
23 |
fdt->expires = _atoi64(*(++atts)); |
23 |
#else |
24 |
#else |