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:
Pierre Ossman 2019-04-09 14:03:16 +02:00
parent d8b0f3782a
commit e1537061bf

2
rdp.c
View File

@ -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);
if (s)
hexdump(s->p, s_length(s));
hexdump(s->data, s_length(s));
exit(0);
}