From: Michael Vogt Date: Wed, 3 Apr 2013 12:19:34 +0000 (+0200) Subject: apt-pkg/contrib/gpgv.cc: fix InRelease check X-Git-Tag: 0.9.8~19 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/463f24f99f6cca2df71e7ec0568a6bdcd78cf9ed?hp=-c apt-pkg/contrib/gpgv.cc: fix InRelease check --- 463f24f99f6cca2df71e7ec0568a6bdcd78cf9ed diff --git a/apt-pkg/contrib/gpgv.cc b/apt-pkg/contrib/gpgv.cc index ba059dd87..31db7d5fe 100644 --- a/apt-pkg/contrib/gpgv.cc +++ b/apt-pkg/contrib/gpgv.cc @@ -337,8 +337,8 @@ bool SplitClearSignedFile(std::string const &InFile, FileFd * const ContentFile, if (first_line == true && found_message_start == false && found_message_end == false) return false; // otherwise one missing indicates a syntax error - else if (first_line == false || found_message_start == false || found_message_end == false) - return _error->Error("Splitting of file %s failed as it doesn't contain all expected parts", InFile.c_str()); + else if (first_line == true || found_message_start == false || found_message_end == false) + return _error->Error("Splitting of file %s failed as it doesn't contain all expected parts %i %i %i", InFile.c_str(), first_line, found_message_start, found_message_end); return true; }