summaryrefslogtreecommitdiff
path: root/popt/popt.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1998-09-27 15:54:20 +0000
committerewt <devnull@localhost>1998-09-27 15:54:20 +0000
commitaacc8cc6c9f48decef167358fca1f840e8304294 (patch)
tree0f428e30449b93b1cc66ae2847c2f64df86dccbf /popt/popt.c
parent88c518a2c8f4e0650c1806cc3dc1afbd77cbc1bd (diff)
downloadlibrpm-tizen-aacc8cc6c9f48decef167358fca1f840e8304294.tar.gz
librpm-tizen-aacc8cc6c9f48decef167358fca1f840e8304294.tar.bz2
librpm-tizen-aacc8cc6c9f48decef167358fca1f840e8304294.zip
changed popt callbacks t get a pointer into the option table
CVS patchset: 2360 CVS date: 1998/09/27 15:54:20
Diffstat (limited to 'popt/popt.c')
-rw-r--r--popt/popt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/popt/popt.c b/popt/popt.c
index 96d605373..0df31796f 100644
--- a/popt/popt.c
+++ b/popt/popt.c
@@ -370,7 +370,7 @@ int poptGetNextOpt(poptContext con) {
}
if (cb)
- cb(con, opt->val, con->os->nextArg, cbData);
+ cb(con, opt, con->os->nextArg, cbData);
else if (opt->val)
done = 1;