From f65c809fb7c269c2bf450274f424feab85ea95cb Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 12 Aug 2009 15:10:46 -0700 Subject: Print more useful messages for unknown replies, events & errors Signed-off-by: Alan Coopersmith --- extensions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions.c') diff --git a/extensions.c b/extensions.c index cba6f7c..bacc47e 100644 --- a/extensions.c +++ b/extensions.c @@ -246,7 +246,7 @@ ExtensionReply (FD fd, const unsigned char *buf, if (decode_reply != NULL) { decode_reply(fd, buf, RequestMinor); } else { - warn("Extended reply opcode"); + UnknownReply(buf); } } @@ -262,7 +262,7 @@ ExtensionError (FD fd, const unsigned char *buf, short Error) if (decode_error != NULL) { decode_error(fd, buf); } else { - warn("Extended Error code"); + UnknownError(buf); } } @@ -278,6 +278,6 @@ ExtensionEvent (FD fd, const unsigned char *buf, short Event) if (decode_event != NULL) { decode_event(fd, buf); } else { - warn("Extended Event code"); + UnknownEvent(buf); } } -- cgit v1.2.1