The Samba-Bugzilla – Attachment 1089 Details for
Bug 2523
passdb/pdb_nds.c: "rc" is set but never used.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove unused "rc"
rc.patch (text/plain), 1.03 KB, created by
Jason Mader (mail bounces back)
on 2005-03-22 20:18:58 UTC
(
hide
)
Description:
remove unused "rc"
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2005-03-22 20:18:58 UTC
Size:
1.03 KB
patch
obsolete
>Index: passdb/pdb_nds.c >=================================================================== >--- passdb/pdb_nds.c (revision 5967) >+++ passdb/pdb_nds.c (working copy) >@@ -227,7 +227,7 @@ > size_t *retDataLen, > void *retData ) > { >- int rc=0, err = 0; >+ int err = 0; > BerElement *replyBer = NULL; > char *retOctStr = NULL; > size_t retOctStrLen = 0; >@@ -248,7 +248,7 @@ > goto Cleanup; > } > >- if( (rc = ber_scanf(replyBer, "{iis}", serverVersion, &err, retOctStr, &retOctStrLen)) != -1) >+ if(ber_scanf(replyBer, "{iis}", serverVersion, &err, retOctStr, &retOctStrLen) != -1) > { > if (*retDataLen >= retOctStrLen) > { >@@ -268,7 +268,7 @@ > } > else > { >- if( (rc = ber_scanf(replyBer, "{ii}", serverVersion, &err)) == -1) >+ if(ber_scanf(replyBer, "{ii}", serverVersion, &err) == -1) > { > if (!err) > { >@@ -757,7 +757,7 @@ > LDAPMessage *entry = NULL; > const char **attr_list; > size_t pwd_len; >- uchar clear_text_pw[512]; >+ char clear_text_pw[512]; > const char *p = NULL; > LDAP *ld = NULL; > int ldap_port = 0;
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 2523
: 1089