550-fix-printer-args.patch 318 B

1234567891011
  1. --- a/pppd/options.c
  2. +++ b/pppd/options.c
  3. @@ -1013,7 +1013,7 @@ print_option(opt, mainopt, printer, arg)
  4. p = (char *) opt->addr2;
  5. if ((opt->flags & OPT_STATIC) == 0)
  6. p = *(char **)p;
  7. - printer("%q", p);
  8. + printer(arg, "%q", p);
  9. } else if (opt->flags & OPT_A2LIST) {
  10. struct option_value *ovp;