projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8dcbc8d
)
ieof-for-nonexistent-channel problem: avoid comparing an unsigned with -1
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 17 May 2002 12:33:20 +0000
(12:33 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 17 May 2002 12:33:20 +0000
(12:33 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1686
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
c9b1bcd
..
2410d14
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-2739,7
+2739,7
@@
void sshfwd_close(struct ssh_channel *c)
* on it now, and then when the server acks the channel
* open, we can close it then.
*/
- if (
c->remoteid
!= -1) {
+ if (
((int)c->remoteid)
!= -1) {
if (ssh_version == 1) {
send_packet(SSH1_MSG_CHANNEL_CLOSE, PKT_INT, c->remoteid,
PKT_END);