diff options
author | Michael Vogt <mvo@debian.org> | 2013-08-23 09:15:00 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-08-23 09:15:00 +0200 |
commit | 1c946b5766c8f23e20d0032fcd9a01e2f891fbf9 (patch) | |
tree | 2b03908f9bd397e03d022317030cd9e26281c7b3 /ftparchive | |
parent | 2510eea4a0922b7b6da8099deb70ca87851633ce (diff) |
ftparchive/override.cc: fix "skip empty lines" code, the pointer needs to get de-referenced first
Diffstat (limited to 'ftparchive')
-rw-r--r-- | ftparchive/override.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/override.cc b/ftparchive/override.cc index 760c20120..1288ff133 100644 --- a/ftparchive/override.cc +++ b/ftparchive/override.cc @@ -49,7 +49,7 @@ bool Override::ReadOverride(string const &File,bool const &Source) // Strip space leading up to the package name, skip blank lines char *Pkg = Line; for (; isspace(*Pkg) && *Pkg != 0;Pkg++); - if (Pkg == 0) + if (*Pkg == 0) continue; // Find the package and zero.. |