diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-12 23:32:01 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 23:32:01 +0200 |
commit | a410fab5943ed411991068f5db2b548d9f521d3e (patch) | |
tree | 2cee518169bb5679b13925f63a666a983bc928d4 /network/d4x/patches/d4x-2.5.7.1-cd.patch | |
parent | 1d64c3277d7442916773cf98e3a4bebc7fa2233b (diff) | |
download | slackbuilds-a410fab5943ed411991068f5db2b548d9f521d3e.tar.gz |
network/d4x: Added to 12.2 repository
Diffstat (limited to 'network/d4x/patches/d4x-2.5.7.1-cd.patch')
-rw-r--r-- | network/d4x/patches/d4x-2.5.7.1-cd.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/network/d4x/patches/d4x-2.5.7.1-cd.patch b/network/d4x/patches/d4x-2.5.7.1-cd.patch new file mode 100644 index 0000000000..e261ceb36a --- /dev/null +++ b/network/d4x/patches/d4x-2.5.7.1-cd.patch @@ -0,0 +1,19 @@ +--- a/main/dlist.cc 2006-04-06 01:14:54.000000000 +0600 ++++ b/main/dlist.cc 2008-04-17 08:50:22.000000000 +0600 +@@ -1023,11 +1023,12 @@ + cpfrom=oldname; + }else + cpfrom=newname; +- +- WL->log_printf(LOG_WARNING,_("Trying to copy %s to %s due 'Content-Disposition'"), ++ if(strcmp(cpfrom,tmp)){ ++ WL->log_printf(LOG_WARNING,_("Trying to copy %s to %s due 'Content-Disposition'"), + cpfrom,tmp); +- if (file_copy(cpfrom,tmp,buf,1000)) +- WL->log(LOG_ERROR,_("Error during copying!")); ++ if (file_copy(cpfrom,tmp,buf,1000)) ++ WL->log(LOG_ERROR,_("Error during copying!")); ++ } + delete[] buf; + delete[] tmp; + delete[] newname; |