mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Fixes (mostly from Colin Watson, a couple redone by me) to make Unix
PuTTY compile cleanly under gcc 4.6.0 without triggering any of its new warnings. [originally from svn r9169]
This commit is contained in:
5
ssh.c
5
ssh.c
@ -9131,10 +9131,9 @@ static void ssh2_msg_debug(Ssh ssh, struct Packet *pktin)
|
||||
/* log the debug message */
|
||||
char *msg;
|
||||
int msglen;
|
||||
int always_display;
|
||||
|
||||
/* XXX maybe we should actually take notice of this */
|
||||
always_display = ssh2_pkt_getbool(pktin);
|
||||
/* XXX maybe we should actually take notice of the return value */
|
||||
ssh2_pkt_getbool(pktin);
|
||||
ssh_pkt_getstring(pktin, &msg, &msglen);
|
||||
|
||||
logeventf(ssh, "Remote debug message: %.*s", msglen, msg);
|
||||
|
Reference in New Issue
Block a user