diff options
author | Markus Brueffer <markus@FreeBSD.org> | 2005-02-02 23:45:04 +0000 |
---|---|---|
committer | Markus Brueffer <markus@FreeBSD.org> | 2005-02-02 23:45:04 +0000 |
commit | ef488d3fa7bc748b261c5506e8b1ab07e90ff035 (patch) | |
tree | d130b7ebcb25135211b4cb9b94a3d2eabc556740 /ftp/kasablanca/files/patch-ftpthread.cpp | |
parent | Update to 2.5 (diff) |
Update to version 0.4.0.2
Notes
Notes:
svn path=/head/; revision=127936
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); |