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
43da5b20
Commit
43da5b20
authored
10 years ago
by
Steve Holme
Browse files
Options
Downloads
Patches
Plain Diff
connect.c: Fixed compilation warning when no verbose string support
warning: unused parameter 'reason'
parent
591d5ca4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/connect.c
+5
-0
5 additions, 0 deletions
lib/connect.c
with
5 additions
and
0 deletions
lib/connect.c
+
5
−
0
View file @
43da5b20
...
...
@@ -1333,8 +1333,13 @@ CURLcode Curl_socket(struct connectdata *conn,
void
Curl_conncontrol
(
struct
connectdata
*
conn
,
bool
closeit
,
const
char
*
reason
)
{
#if defined(CURL_DISABLE_VERBOSE_STRINGS)
(
void
)
reason
;
#endif
infof
(
conn
->
data
,
"Marked for [%s]: %s
\n
"
,
closeit
?
"closure"
:
"keep alive"
,
reason
);
conn
->
bits
.
close
=
closeit
;
/* the only place in the source code that should
assign this bit */
}
...
...
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