projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove redundant check for NULL in sshfwd_close(). The thing we're
[u/mdw/putty]
/
ssh.c
diff --git
a/ssh.c
b/ssh.c
index
43d642d
..
401706c
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-4164,7
+4164,7
@@
void sshfwd_close(struct ssh_channel *c)
if (ssh->state == SSH_STATE_CLOSED)
return;
- if (
c &&
!c->closes) {
+ if (!c->closes) {
/*
* If halfopen is true, we have sent
* CHANNEL_OPEN for this channel, but it hasn't even been