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
bb667c8a
Commit
bb667c8a
authored
17 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
rename variable to prevent shadow warning
parent
8179743c
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/ssh.c
+4
-4
4 additions, 4 deletions
lib/ssh.c
with
4 additions
and
4 deletions
lib/ssh.c
+
4
−
4
View file @
bb667c8a
...
...
@@ -229,7 +229,7 @@ static LIBSSH2_FREE_FUNC(libssh2_free)
* SSH State machine related code
*/
/* This is the ONLY way to change SSH state! */
static
void
state
(
struct
connectdata
*
conn
,
sshstate
state
)
static
void
state
(
struct
connectdata
*
conn
,
sshstate
now
state
)
{
#if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
/* for debug purposes */
...
...
@@ -291,13 +291,13 @@ static void state(struct connectdata *conn, sshstate state)
struct
ssh_conn
*
sshc
=
&
conn
->
proto
.
sshc
;
#if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
if
(
sshc
->
state
!=
state
)
{
if
(
sshc
->
state
!=
now
state
)
{
infof
(
conn
->
data
,
"SFTP %p state change from %s to %s
\n
"
,
sshc
,
names
[
sshc
->
state
],
names
[
state
]);
sshc
,
names
[
sshc
->
state
],
names
[
now
state
]);
}
#endif
sshc
->
state
=
state
;
sshc
->
state
=
now
state
;
}
static
CURLcode
ssh_statemach_act
(
struct
connectdata
*
conn
)
...
...
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