Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11666 - /trunk/libzypp/zypp/media/MediaCurl.cc
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Wed, 12 Nov 2008 15:47:25 -0000
  • Message-id: <20081112154725.2F3B037359@xxxxxxxxxxxxxxxx>
Author: mlandres
Date: Wed Nov 12 16:47:24 2008
New Revision: 11666

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11666&view=rev
Log:
quickfix for ftp response to MDTM

Modified:
trunk/libzypp/zypp/media/MediaCurl.cc

Modified: trunk/libzypp/zypp/media/MediaCurl.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/media/MediaCurl.cc?rev=11666&r1=11665&r2=11666&view=diff
==============================================================================
--- trunk/libzypp/zypp/media/MediaCurl.cc (original)
+++ trunk/libzypp/zypp/media/MediaCurl.cc Wed Nov 12 16:47:24 2008
@@ -1444,7 +1444,8 @@
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;

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages