diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-01 19:49:11 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-01 19:50:58 +0100 |
commit | 42bff9f4584362f2084033795896c2e891274631 (patch) | |
tree | 4c317d9db160535848b036f47dd646884e1d6ab0 /examples/qpdfjob-c.c | |
parent | a0d9d9923ce397d46680a9b180f253b39135ece2 (diff) | |
download | qpdf-42bff9f4584362f2084033795896c2e891274631.tar.zst |
QPDFJob: let initializeFromArgv just take argv, not argc
Let argv be a null-terminated array. There is already code that
assumes this, and it makes it easier to construct the arguments.
Diffstat (limited to 'examples/qpdfjob-c.c')
-rw-r--r-- | examples/qpdfjob-c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qpdfjob-c.c b/examples/qpdfjob-c.c index da53001a..ac58b8ae 100644 --- a/examples/qpdfjob-c.c +++ b/examples/qpdfjob-c.c @@ -57,6 +57,6 @@ int main(int argc, char* argv[]) * qpdfjob_run_from_json instead and pass the json string as a * single char const* argument. */ - r = qpdfjob_run_from_argv(5, new_argv); + r = qpdfjob_run_from_argv(new_argv); return r; } |