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
d2e6a058
Commit
d2e6a058
authored
20 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
made 'connectindex' a long variable to prevent compiler warnings when
implicitly converting it to int
parent
b2c9277e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/url.c
+3
-3
3 additions, 3 deletions
lib/url.c
lib/urldata.h
+1
-1
1 addition, 1 deletion
lib/urldata.h
with
4 additions
and
4 deletions
lib/url.c
+
3
−
3
View file @
d2e6a058
...
...
@@ -1453,7 +1453,7 @@ CURLcode Curl_disconnect(struct connectdata *conn)
if
(
-
1
!=
conn
->
connectindex
)
{
/* unlink ourselves! */
infof
(
data
,
"Closing connection #%d
\n
"
,
conn
->
connectindex
);
infof
(
data
,
"Closing connection #%
l
d
\n
"
,
conn
->
connectindex
);
data
->
state
.
connects
[
conn
->
connectindex
]
=
NULL
;
}
...
...
@@ -3123,7 +3123,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
*
in_connect
=
conn
;
/* return this instead! */
infof
(
data
,
"Re-using existing connection! (#%d) with host %s
\n
"
,
infof
(
data
,
"Re-using existing connection! (#%
l
d) with host %s
\n
"
,
conn
->
connectindex
,
conn
->
host
.
dispname
);
}
else
{
...
...
@@ -3500,7 +3500,7 @@ CURLcode Curl_done(struct connectdata **connp,
result
=
res2
;
}
else
infof
(
data
,
"Connection #%d to host %s left intact
\n
"
,
infof
(
data
,
"Connection #%
l
d to host %s left intact
\n
"
,
conn
->
connectindex
,
conn
->
host
.
dispname
);
return
result
;
...
...
This diff is collapsed.
Click to expand it.
lib/urldata.h
+
1
−
1
View file @
d2e6a058
...
...
@@ -429,7 +429,7 @@ struct Curl_async {
struct
connectdata
{
/**** Fields set when inited and not modified again */
struct
SessionHandle
*
data
;
/* link to the root CURL struct */
int
connectindex
;
/* what index in the connects index this particular
long
connectindex
;
/* what index in the connects index this particular
struct has */
long
protocol
;
/* PROT_* flags concerning the protocol set */
...
...
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