summaryrefslogtreecommitdiff
path: root/apt-pkg/sourcelist.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-04 15:39:04 +0100
committerMichael Vogt <mvo@debian.org>2014-01-04 15:39:04 +0100
commitd2d68aaf5bc2211e9c488f2603ccb4e5fd591a6d (patch)
tree86f35f52d334d4a7925a2e0607c2157840fe9e0f /apt-pkg/sourcelist.cc
parent022167ca077dfeab693c7da07b90e8729d483813 (diff)
improve tests
Diffstat (limited to 'apt-pkg/sourcelist.cc')
-rw-r--r--apt-pkg/sourcelist.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/sourcelist.cc b/apt-pkg/sourcelist.cc
index 99cdbe030..35e13b6f5 100644
--- a/apt-pkg/sourcelist.cc
+++ b/apt-pkg/sourcelist.cc
@@ -342,7 +342,8 @@ bool pkgSourceList::ParseFileDeb822(string File)
// check if there are any options we support
const char* option_str[] = {
- "arch", "arch+", "arch-", "trusted" };
+ "arch", "arch+", "arch-", "trusted",
+ };
for (unsigned int j=0; j < sizeof(option_str)/sizeof(char*); j++)
if (Tags.Exists(option_str[j]))
Options[option_str[j]] = Tags.FindS(option_str[j]);