Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nxssh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Konstantin Artyushkin
nxssh
Commits
bb0e2260
Commit
bb0e2260
authored
8 years ago
by
Stas Korobeynikov
Committed by
Pavel Vainerman
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sleep to connect process
parent
e1892b03
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sshconnect.c
sshconnect.c
+2
-0
No files found.
sshconnect.c
View file @
bb0e2260
...
@@ -817,6 +817,8 @@ ssh_connect_direct(const char *host, struct addrinfo *aitop,
...
@@ -817,6 +817,8 @@ ssh_connect_direct(const char *host, struct addrinfo *aitop,
logit
(
"NX> 200 Connected to address: %.200s on port: %.200s"
,
ntop
,
strport
);
logit
(
"NX> 200 Connected to address: %.200s on port: %.200s"
,
ntop
,
strport
);
break
;
/* Successful connection. */
break
;
/* Successful connection. */
}
}
/* Sleep a moment before retrying. */
sleep
(
1
);
}
}
/* Return failure if we didn't get a successful connection. */
/* Return failure if we didn't get a successful connection. */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment