Move all printf / fprintf from header to source file. #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Define return codes and process them in the main program for printing errors.
What is that D(("text.")); makro call in the pam libs? Maybe use this for writing errors to syslog?
It seems that the function pam_syslog() is logging to syslog... But wth the hell is D(())???
Okay, D() is defined in https://github.com/linux-pam/linux-pam/blob/master/libpam/include/security/_pam_macros.h. It is for debug output when the application is compiled with -DPAM_DEBUG. Seems to be the right replacement for printf / fprintf in the header file.