Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
0c31b67e
Commit
0c31b67e
authored
May 20, 2010
by
ck
Browse files
SSH: Fix Net7 bug.
parent
adad842b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/3rdparty/net7ssh/src/ne7ssh_sftp.cpp
View file @
0c31b67e
...
...
@@ -166,15 +166,14 @@ bool Ne7sshSftp::receiveUntil (short _cmd, uint32 timeSec)
SecureVector
<
Botan
::
byte
>
packet
;
uint32
cutoff
=
timeSec
*
1000000
,
timeout
=
0
;
uint32
prevSize
=
0
;
bool
status
;
this
->
sftpCmd
=
0
;
commBuffer
.
clear
();
while
(
true
)
{
status
=
_transport
->
waitForPacket
(
0
,
false
);
if
(
status
)
const
short
status
=
_transport
->
waitForPacket
(
0
,
false
);
if
(
status
>
0
)
{
_transport
->
getPacket
(
packet
);
if
(
!
handleReceived
(
packet
))
return
false
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment