diff options
author | Michael Matz <matz@suse.de> | 2008-02-11 02:38:58 +0000 |
---|---|---|
committer | Michael Matz <matz@suse.de> | 2008-02-11 02:38:58 +0000 |
commit | b33428b853d91ff15eee32fd1407ae0924a56bb7 (patch) | |
tree | 0bcee5de1ae419aa0b7212a3f6f67e0d2b519c15 /tools/rpmmd2solv.c | |
parent | 898fd582119618a554d167ea33817605ed130091 (diff) | |
download | libsolv-b33428b853d91ff15eee32fd1407ae0924a56bb7.tar.gz libsolv-b33428b853d91ff15eee32fd1407ae0924a56bb7.tar.bz2 libsolv-b33428b853d91ff15eee32fd1407ae0924a56bb7.zip |
Factor out the filter code in preparation for nicely configuring where
to write which attributes.
Diffstat (limited to 'tools/rpmmd2solv.c')
-rw-r--r-- | tools/rpmmd2solv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/rpmmd2solv.c b/tools/rpmmd2solv.c index 1351c47..eee17ee 100644 --- a/tools/rpmmd2solv.c +++ b/tools/rpmmd2solv.c @@ -15,7 +15,7 @@ #include "pool.h" #include "repo.h" #include "repo_rpmmd.h" -#include "repo_write.h" +#include "common_write.h" int main(int argc, char **argv) @@ -23,7 +23,7 @@ main(int argc, char **argv) Pool *pool = pool_create(); Repo *repo = repo_create(pool, "<stdin>"); repo_add_rpmmd(repo, stdin); - repo_write(repo, stdout, 0, 0, 0, 0); + tool_write(repo, 0, 0); pool_free(pool); exit(0); } |