Fix packet debug output in rdp_protocol_error()
We're trying to print the entire packet, not just what's left.
This commit is contained in:
parent
d8b0f3782a
commit
e1537061bf
2
rdp.c
2
rdp.c
@ -2117,6 +2117,6 @@ _rdp_protocol_error(const char *file, int line, const char *func,
|
|||||||
{
|
{
|
||||||
logger(Protocol, Error, "%s:%d: %s(), %s", file, line, func, message);
|
logger(Protocol, Error, "%s:%d: %s(), %s", file, line, func, message);
|
||||||
if (s)
|
if (s)
|
||||||
hexdump(s->p, s_length(s));
|
hexdump(s->data, s_length(s));
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user