aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_rhosts
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2018-12-20 13:59:25 +0100
committerTomas Mraz <tmraz@fedoraproject.org>2018-12-20 13:59:25 +0100
commitd57ab22133654033ee1da89f128a81572d320985 (patch)
tree08f3d7e4e9619693bc8383c54821f02cea311f83 /modules/pam_rhosts
parent1daa323234982df4d7bbb8a13d4eb447106657d1 (diff)
downloadpam-d57ab22133654033ee1da89f128a81572d320985.tar.gz
pam-d57ab22133654033ee1da89f128a81572d320985.tar.bz2
pam-d57ab22133654033ee1da89f128a81572d320985.zip
pam_motd: Cleanup the code and avoid unnecessary logging
The pam_motd module will not log if the default motd.d directories are missing. Also cleanup some code cleanliness issues and fix compilation warnings. * modules/pam_motd/pam_motd.c: Constification of constant strings. (try_to_display_directory): Removed unused function. (pam_split_string): Replace uint with unsigned int. Fix warnings. (compare_strings): Fix warnings by proper constification. (try_to_display_directories_with_overrides): Cleanups. Switch off the logging if the motd.d directories are missing and they are default ones. (pam_sm_open_session): Cleanup warnings. Pass the information to try_to_display_directories_with_overrides() that non-default motd options are used.
Diffstat (limited to 'modules/pam_rhosts')
0 files changed, 0 insertions, 0 deletions