On Thu, Sep 11, 2008 at 2:09 PM, Rafal Bisingier <[EMAIL PROTECTED]>wrote:

> Below is a patch which change current behavior, so that the message is
> searched first in the /etc/authpf/USER dir, and if it's not found


Would    /etc/authpf/authpf.USER.message    not be better?

========  Sample change  ========
      if (asprintf(&fn, "%s/authpf.%s.message", PATH_USER_DIR, luser) == -1)
          print_message(PATH_MESSAGE);
      else
          print_message(fn);
========  Sample change  ========

Please bear in mind that I can at best read C so the above is probably
wrong.

Reply via email to