summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <egon@debian-devbox>2013-04-03 14:19:34 +0200
committerMichael Vogt <egon@debian-devbox>2013-04-03 14:19:34 +0200
commit463f24f99f6cca2df71e7ec0568a6bdcd78cf9ed (patch)
tree652af62dfa17350dcc10668927a97d895cf435d8
parentc1b21367668fb435cfb8a2a18c3292e006c2e795 (diff)
downloadapt-463f24f99f6cca2df71e7ec0568a6bdcd78cf9ed.tar.gz
apt-pkg/contrib/gpgv.cc: fix InRelease check
-rw-r--r--apt-pkg/contrib/gpgv.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/gpgv.cc b/apt-pkg/contrib/gpgv.cc
index ba059dd8..31db7d5f 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;
}