diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2013-03-12 16:46:14 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2013-03-12 16:46:14 +1300 |
commit | 9136d42339992e6e89588d5a584a1fddfc59075d (patch) | |
tree | a88853a1a684d6537385480264cf66ea3243d1f1 /src/xdmcp-protocol.c | |
parent | 9f78fcc53b4b73fa78914e6ef9d8907a3e140941 (diff) | |
download | lightdm-9136d42339992e6e89588d5a584a1fddfc59075d.tar.gz |
Improve warning message when XDMCP packet has length mismatch
Diffstat (limited to 'src/xdmcp-protocol.c')
-rw-r--r-- | src/xdmcp-protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdmcp-protocol.c b/src/xdmcp-protocol.c index 630f20e1..282e9c9c 100644 --- a/src/xdmcp-protocol.c +++ b/src/xdmcp-protocol.c @@ -198,7 +198,7 @@ xdmcp_packet_decode (const guint8 *data, gsize data_length) } if (length != reader.remaining) { - g_warning ("Ignoring packet of wrong length"); + g_warning ("Ignoring packet of wrong length. Opcode %d expected %d octets, got %d", opcode, length, reader.remaining); return NULL; } |