diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-18 10:17:18 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-18 10:17:18 +0200 |
commit | 78ad426f040a85965ad33ab64f040012f1b2af39 (patch) | |
tree | bd656a40ddcf5563dbedb513379ff86815333ad7 /lib/rpmgi.c | |
parent | 8bdd462b50b7930c94cd7c59ac068934f60cffcf (diff) | |
download | rpm-78ad426f040a85965ad33ab64f040012f1b2af39.tar.gz rpm-78ad426f040a85965ad33ab64f040012f1b2af39.tar.bz2 rpm-78ad426f040a85965ad33ab64f040012f1b2af39.zip |
Remove bogus const from rpmGlob argv return type
- it's malloced and must be freed by caller
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r-- | lib/rpmgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmgi.c b/lib/rpmgi.c index f0e0f17a3..1f6bb7de5 100644 --- a/lib/rpmgi.c +++ b/lib/rpmgi.c @@ -310,7 +310,7 @@ static rpmRC rpmgiGlobArgv(rpmgi gi, ARGV_t argv) if (argv != NULL) while ((arg = *argv++) != NULL) { - ARGV_t av = NULL; + char ** av = NULL; xx = rpmGlob(arg, &ac, &av); xx = argvAppend(&gi->argv, av); |