diff options
Diffstat (limited to 'ftp/kasablanca/files/patch-ftpthread.cpp')
-rw-r--r-- | ftp/kasablanca/files/patch-ftpthread.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ftp/kasablanca/files/patch-ftpthread.cpp b/ftp/kasablanca/files/patch-ftpthread.cpp new file mode 100644 index 000000000000..3d9802b46d12 --- /dev/null +++ b/ftp/kasablanca/files/patch-ftpthread.cpp @@ -0,0 +1,19 @@ +--- src/ftpthread.cpp.orig Mon Jan 31 14:24:47 2005 ++++ src/ftpthread.cpp Thu Feb 3 00:45:36 2005 +@@ -31,6 +31,7 @@ + + #include <iostream> + #include <list> ++#include <stdlib.h> + + #include "kbconfig.h" + #include "ftplib.h" +@@ -1226,7 +1227,7 @@ + loc--; + } + +- off64_t size = atoll(buffer.substr( sizebegin, datebegin - sizebegin).c_str()); ++ off64_t size = strtoll(buffer.substr( sizebegin, datebegin - sizebegin).c_str(), (char **)NULL, 10); + + filestring.erase(); + filestring.append(buffer, fileloc, buffer.length() - fileloc); |