diff options
author | Julian Andres Klode <jak@debian.org> | 2015-12-27 00:51:59 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-12-27 01:20:41 +0100 |
commit | 74dedb4ae28fd4f7c89bf769708d4f7edc7ed79a (patch) | |
tree | a1d8539a50180611afcd34fac1e597aaf286cd19 /methods/rred.cc | |
parent | 98b063439156595f74c89e923bf4d3fd51a3b36f (diff) |
Convert most callers of isspace() to isspace_ascii()
This converts all callers that read machine-generated data,
callers that might work with user input are not converted.
Diffstat (limited to 'methods/rred.cc')
-rw-r--r-- | methods/rred.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/methods/rred.cc b/methods/rred.cc index 351c1ebf9..89d706984 100644 --- a/methods/rred.cc +++ b/methods/rred.cc @@ -7,6 +7,7 @@ #include <config.h> +#include <apt-pkg/init.h> #include <apt-pkg/fileutl.h> #include <apt-pkg/error.h> #include <apt-pkg/acquire-method.h> @@ -692,6 +693,8 @@ int main(int argc, char **argv) bool test = false; Patch patch; + pkgInitConfig(*_config); + if (argc <= 1) { RredMethod Mth; return Mth.Run(); |