projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c2eea
)
quickfix for ftp response to MDTM
author
Michael Andres
<ma@suse.de>
Wed, 12 Nov 2008 15:47:24 +0000
(15:47 +0000)
committer
Michael Andres
<ma@suse.de>
Wed, 12 Nov 2008 15:47:24 +0000
(15:47 +0000)
zypp/media/MediaCurl.cc
patch
|
blob
|
history
diff --git
a/zypp/media/MediaCurl.cc
b/zypp/media/MediaCurl.cc
index 665a2a841ce6383b6987ab554f49d3b066181ee2..d39b9e37429305ee0a80cafb60fd53ba43180946 100644
(file)
--- a/
zypp/media/MediaCurl.cc
+++ b/
zypp/media/MediaCurl.cc
@@
-1444,7
+1444,8
@@
void MediaCurl::doGetFileCopy( const Pathname & filename , const Pathname & targ
if (infoRet == CURLE_OK)
{
DBG << "HTTP response: " + str::numstring(httpReturnCode);
- if ( httpReturnCode == 304 ) // not modified
+ if ( httpReturnCode == 304
+ || ( httpReturnCode == 213 && _url.getScheme() == "ftp" ) ) // not modified
{
DBG << " Not modified.";
modified = false;