- fix: popt POST callbacks typo.
authorjbj <devnull@localhost>
Fri, 4 Aug 2000 19:47:22 +0000 (19:47 +0000)
committerjbj <devnull@localhost>
Fri, 4 Aug 2000 19:47:22 +0000 (19:47 +0000)
CVS patchset: 4012
CVS date: 2000/08/04 19:47:22

popt/popt.c

index 8527295..4979ed5 100644 (file)
@@ -46,7 +46,7 @@ static void invokeCallbacksPOST(poptContext con, const struct poptOption * opt)
     for (; opt->longName || opt->shortName || opt->arg; opt++) {
        if ((opt->argInfo & POPT_ARG_MASK) == POPT_ARG_INCLUDE_TABLE) {
            /* Recurse on included sub-tables. */
-           invokeCallbacksPRE(con, opt->arg);
+           invokeCallbacksPOST(con, opt->arg);
        } else if ((opt->argInfo & POPT_ARG_MASK) == POPT_ARG_CALLBACK &&
                   (opt->argInfo & POPT_CBFLAG_POST))
        {   poptCallbackType cb = (poptCallbackType)opt->arg;