projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e6bca
)
Interchange two parameters in a printf, to prevent a silly segfault.
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 20 Nov 2002 19:56:10 +0000
(19:56 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 20 Nov 2002 19:56:10 +0000
(19:56 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2235
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
2df7110
..
99721f8
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-1073,7
+1073,7
@@
static int ssh2_rdpkt(Ssh ssh, unsigned char **data, int *datalen)
logevent(buf);
sfree(buf);
buf = dupprintf("Disconnection message text: %n%.*s",
-
msglen, &now
len, ssh->pktin.data + 14);
+
&nowlen, msg
len, ssh->pktin.data + 14);
logevent(buf);
bombout((ssh,"Server sent disconnect message\ntype %d (%s):\n\"%s\"",
reason,