]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.cc
* merged fixes from otavio (thanks!)
[apt.git] / apt-pkg / acquire-method.cc
index 04c62eaaa3997a06002b77c1ec863a790f1de701..3360a8eaea8d773f85d0dfba03df5f553eed587b 100644 (file)
@@ -15,9 +15,6 @@
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
-#ifdef __GNUG__
-#pragma implementation "apt-pkg/acquire-method.h"
-#endif
 #include <apt-pkg/acquire-method.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/configuration.h>
@@ -277,7 +274,7 @@ bool pkgAcqMethod::MediaFail(string Required,string Drive)
            MyMessages.erase(MyMessages.begin());
         }
 
-        return !StringToBool(LookupTag(Message,"Fail"),false);
+        return !StringToBool(LookupTag(Message,"Failed"),false);
       }
       
       Messages.push_back(Message);