Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
c03cbb38
Commit
c03cbb38
authored
14 years ago
by
Howard Chu
Committed by
Daniel Stenberg
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
openldap: fix compiler warnings
parent
63661d8e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/openldap.c
+7
-2
7 additions, 2 deletions
lib/openldap.c
with
7 additions
and
2 deletions
lib/openldap.c
+
7
−
2
View file @
c03cbb38
...
...
@@ -37,6 +37,11 @@
#include
"memdebug.h"
#ifndef _LDAP_PVT_H
extern
int
ldap_pvt_url_scheme2proto
(
const
char
*
);
extern
int
ldap_init_fd
(
ber_socket_t
fd
,
int
proto
,
const
char
*
url
,
LDAP
**
ld
);
#endif
static
CURLcode
ldap_setup
(
struct
connectdata
*
conn
);
static
CURLcode
ldap_do
(
struct
connectdata
*
conn
,
bool
*
done
);
static
CURLcode
ldap_done
(
struct
connectdata
*
conn
,
CURLcode
,
bool
);
...
...
@@ -293,7 +298,7 @@ static CURLcode ldap_disconnect(struct connectdata *conn)
if
(
li
)
{
if
(
li
->
ld
)
{
ldap_unbind
(
li
->
ld
);
ldap_unbind
_ext
(
li
->
ld
,
NULL
,
NULL
);
li
->
ld
=
NULL
;
}
conn
->
proto
.
generic
=
NULL
;
...
...
@@ -356,7 +361,7 @@ static CURLcode ldap_done(struct connectdata *conn, CURLcode res,
/* if there was a search in progress, abandon it */
if
(
lr
->
msgid
)
{
ldapconninfo
*
li
=
conn
->
proto
.
generic
;
ldap_abandon
(
li
->
ld
,
lr
->
msgid
);
ldap_abandon
_ext
(
li
->
ld
,
lr
->
msgid
,
NULL
,
NULL
);
lr
->
msgid
=
0
;
}
conn
->
data
->
state
.
proto
.
generic
=
NULL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment