mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fix deadcode / warnings / minor bugs
This commit is contained in:
1 parent
44c47ee7d9
commit
4877b39f2c
24 files changed
+49
-145
No files matched your search
@@ -90,10 +90,7 @@ static int pamfunc(struct clientparam *param)
|
||||
conv.appdata_ptr = (char *) param->password;
|
||||
|
||||
_3proxy_mutex_lock(&pam_mutex);
|
||||
if (!pamh)
|
||||
{
|
||||
retval = pam_start ((char *)service, (char *)param->username, &conv, &pamh);
|
||||
}
|
||||
retval = pam_start ((char *)service, (char *)param->username, &conv, &pamh);
|
||||
if (retval == PAM_SUCCESS)
|
||||
retval = pam_set_item (pamh, PAM_USER, param->username);
|
||||
/*fprintf(stderr,"pam_set_item1 rc=%d\n",retval);*/
|
||||
|
||||
Reference in new issue
Block a user