diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-01-17 16:35:56 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-01-17 16:35:56 +0100 |
commit | cae9cdcefc34eba6d023cb30cbbdb9bbf909b8fe (patch) | |
tree | 960aa2d4b9b028383c45c5f416a89d8fd1238c19 /methods/mirror.h | |
parent | 933833c51fbfe3dca3f3a3073d441e5856462605 (diff) |
* basic error reporting from apt in place now (ReportMirrorFailures())
Diffstat (limited to 'methods/mirror.h')
-rw-r--r-- | methods/mirror.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/mirror.h b/methods/mirror.h index 798f5a9b5..3ff9e1a96 100644 --- a/methods/mirror.h +++ b/methods/mirror.h @@ -35,6 +35,7 @@ class MirrorMethod : public HttpMethod bool GetMirrorFile(string uri); bool SelectMirror(); bool Clean(string dir); + void ReportMirrorFailure(string FailCode); // we need to overwrite those to transform the url back virtual void Fail(string Why, bool Transient = false); |