diff options
Diffstat (limited to 'packages/ctorrent/files/passkey.patch')
-rw-r--r-- | packages/ctorrent/files/passkey.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/ctorrent/files/passkey.patch b/packages/ctorrent/files/passkey.patch new file mode 100644 index 0000000000..3debc44599 --- /dev/null +++ b/packages/ctorrent/files/passkey.patch @@ -0,0 +1,16 @@ +*** ctorrent/httpencode.cpp.orig Thu Sep 9 01:10:51 2004 +--- ctorrent/httpencode.cpp Thu Aug 4 15:00:45 2005 +*************** +*** 88,94 **** +--- 88,98 ---- + + /* path */ + if( *p != '/' ) return -1; ++ #if 1 /* The passkey patch */ ++ for( ; *p; p++,path++) *path = *p; ++ #else + for( ; *p && *p != '?'; p++,path++) *path = *p; ++ #endif + *path = '\0'; + return 0; + } |