diff options
Diffstat (limited to 'net/mad_fcl/files/patch-flute::fdt.c')
-rw-r--r-- | net/mad_fcl/files/patch-flute::fdt.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/mad_fcl/files/patch-flute::fdt.c b/net/mad_fcl/files/patch-flute::fdt.c new file mode 100644 index 000000000000..0afb684621d1 --- /dev/null +++ b/net/mad_fcl/files/patch-flute::fdt.c @@ -0,0 +1,28 @@ +--- flute/fdt.c.orig Fri Feb 13 15:58:54 2004 ++++ flute/fdt.c Fri Feb 13 15:58:54 2004 +@@ -113,14 +113,14 @@ + #ifdef WIN32 + file->file_len = _atoi64(*(++atts)); + #else +- file->file_len = atoll(*(++atts)); ++ file->file_len = strtoll(*(++atts), NULL, 10); + #endif + } + else if(!strcmp(*atts, "Transfer-Length")) { + #ifdef WIN32 + file->toi_len = _atoi64(*(++atts)); + #else +- file->toi_len = atoll(*(++atts)); ++ file->toi_len = strtoll(*(++atts),NULL, 10); + #endif + } + else if(!strcmp(*atts, "Content-Type")) { +@@ -179,7 +179,7 @@ + #ifdef WIN32 + fdt->expires = _atoi64(*(++atts)); + #else +- fdt->expires = atoll(*(++atts)); ++ fdt->expires = strtoll(*(++atts), NULL, 10); + #endif + } + else if(!strcmp(*atts, "Complete")) { |