More housekeeping.
This commit is contained in:
parent
c83d2864fb
commit
6e4e4c5b6d
1 changed files with 1 additions and 2 deletions
|
|
@ -46,9 +46,8 @@ int pam_conversation(int num_msg, const struct pam_message **msg,
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
response = (struct pam_response *)malloc(sizeof(struct pam_response) * num_msg);
|
response = (struct pam_response *)malloc(sizeof(struct pam_response) * num_msg);
|
||||||
if (response == NULL) {
|
if (response == NULL)
|
||||||
return PAM_CONV_ERR;
|
return PAM_CONV_ERR;
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < num_msg; i++) {
|
for (i = 0; i < num_msg; i++) {
|
||||||
switch (msg[i]->msg_style) {
|
switch (msg[i]->msg_style) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue