diff options
author | Andreas Schneider <asn@redhat.com> | 2010-02-19 15:25:09 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-02-23 12:23:42 +0100 |
commit | 069350d7e4d9e13ea5451273db51023e972a9373 (patch) | |
tree | 89b335b1b2db1716a7850dcd38b1485c064a96e4 /source3/pam_smbpass/pam_smb_auth.c | |
parent | b9cf55cfeae854cd90cd4bd7b55b7313f34af828 (diff) | |
download | samba-069350d7e4d9e13ea5451273db51023e972a9373.tar.gz samba-069350d7e4d9e13ea5451273db51023e972a9373.tar.bz2 samba-069350d7e4d9e13ea5451273db51023e972a9373.zip |
s3-pam_smbpass: Remove obsolete signal type cast.
Diffstat (limited to 'source3/pam_smbpass/pam_smb_auth.c')
-rw-r--r-- | source3/pam_smbpass/pam_smb_auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/pam_smbpass/pam_smb_auth.c b/source3/pam_smbpass/pam_smb_auth.c index 88ff9851f5..feb469792d 100644 --- a/source3/pam_smbpass/pam_smb_auth.c +++ b/source3/pam_smbpass/pam_smb_auth.c @@ -44,7 +44,7 @@ #define AUTH_RETURN \ do { \ /* Restore application signal handler */ \ - CatchSignal(SIGPIPE, SIGNAL_CAST oldsig_handler); \ + CatchSignal(SIGPIPE, oldsig_handler); \ if(ret_data) { \ *ret_data = retval; \ pam_set_data( pamh, "smb_setcred_return" \ @@ -92,7 +92,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags, /* we need to do this before we call AUTH_RETURN */ /* Getting into places that might use LDAP -- protect the app from a SIGPIPE it's not expecting */ - oldsig_handler = CatchSignal(SIGPIPE, SIGNAL_CAST SIG_IGN); + oldsig_handler = CatchSignal(SIGPIPE, SIG_IGN); /* get the username */ retval = pam_get_user( pamh, &name, "Username: " ); |