diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:46:16 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:46:16 +0200 |
commit | dfc1b1e7d8d180ce72b70ef0b629ee45fd4e2674 (patch) | |
tree | b3b67593a04ed06a6d49cd6178eafdf4bac403c5 /package/ctorrent/patches/patch-bencode_cpp | |
parent | 880a694987b2500a302722530615ec5e70a1d507 (diff) | |
parent | 322327d668e6cef8bb5f318bc414593794530b7b (diff) |
Merge branch 'master' of ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ctorrent/patches/patch-bencode_cpp')
-rw-r--r-- | package/ctorrent/patches/patch-bencode_cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/ctorrent/patches/patch-bencode_cpp b/package/ctorrent/patches/patch-bencode_cpp new file mode 100644 index 000000000..9f2a4381e --- /dev/null +++ b/package/ctorrent/patches/patch-bencode_cpp @@ -0,0 +1,16 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- ctorrent-dnh2.orig/bencode.cpp 2006-01-02 03:38:01.000000000 +0100 ++++ ctorrent-dnh2/bencode.cpp 2009-06-01 19:10:05.000000000 +0200 +@@ -213,10 +213,10 @@ size_t bencode_end_dict_list(FILE *fp) + return (EOF == fputc('e',fp)) ? 0 : 1; + } + +-size_t bencode_path2list(const char *pathname, FILE *fp) ++size_t bencode_path2list(char *pathname, FILE *fp) + { + char *pn; +- const char *p = pathname; ++ char *p = pathname; + + if( bencode_begin_list(fp) != 1 ) return 0; + |