The Samba-Bugzilla – Attachment 1893 Details for
Bug 3763
Warnings during compilation of the pam_winbind
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
warnings cleanup
patch-nsswitch_pam_winbind.c (text/plain), 1.19 KB, created by
Timur Bakeyev
on 2006-05-06 15:06:08 UTC
(
hide
)
Description:
warnings cleanup
Filename:
MIME Type:
Creator:
Timur Bakeyev
Created:
2006-05-06 15:06:08 UTC
Size:
1.19 KB
patch
obsolete
>--- nsswitch/pam_winbind.c.orig Thu Apr 20 04:29:21 2006 >+++ nsswitch/pam_winbind.c Tue Apr 25 23:05:08 2006 >@@ -191,7 +191,7 @@ > struct pam_response *resp; > > pmsg[0] = &msg[0]; >- msg[0].msg = text; >+ msg[0].msg = CONST_DISCARD(char *, text); > msg[0].msg_style = type; > > resp = NULL; >@@ -692,7 +692,7 @@ > if (comment != NULL) { > pmsg[0] = &msg[0]; > msg[0].msg_style = PAM_TEXT_INFO; >- msg[0].msg = comment; >+ msg[0].msg = CONST_DISCARD(char *, comment); > i = 1; > } else { > i = 0; >@@ -700,13 +700,13 @@ > > pmsg[i] = &msg[i]; > msg[i].msg_style = PAM_PROMPT_ECHO_OFF; >- msg[i++].msg = prompt1; >+ msg[i++].msg = CONST_DISCARD(char *, prompt1); > replies = 1; > > if (prompt2 != NULL) { > pmsg[i] = &msg[i]; > msg[i].msg_style = PAM_PROMPT_ECHO_OFF; >- msg[i++].msg = prompt2; >+ msg[i++].msg = CONST_DISCARD(char *, prompt2); > ++replies; > } > /* so call the conversation expecting i responses */ >@@ -978,7 +978,7 @@ > } > return PAM_USER_UNKNOWN; > case 0: >- pam_get_data( pamh, PAM_WINBIND_NEW_AUTHTOK_REQD, (const void **)&tmp); >+ pam_get_data(pamh, PAM_WINBIND_NEW_AUTHTOK_REQD, (void **)&tmp); > if (tmp != NULL) { > retval = atoi(tmp); > switch (retval) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3763
: 1893