summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-05-07 09:20:34 +0200
committerJulian Andres Klode <jak@debian.org>2010-05-07 09:20:34 +0200
commit921a3ce01c2595e9df9ff20bdd259e14733dcb16 (patch)
tree300ddfdc0cd69806001a029a0828a9e32c6bfaeb /apt-pkg
parentd7087c493bf2fc7a0eaf6fa308c496c81e6dc98f (diff)
apt-pkg/acquire-item.cc: Fix pkgAcqFile::Custom600Headers() to always return something.
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 1f253bb81..88cac7f7f 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -1685,5 +1685,7 @@ string pkgAcqFile::Custom600Headers()
{
if (IsIndexFile)
return "\nIndex-File: true";
+ else
+ return string();
}
/*}}}*/