Mercurial > pidgin.yaz
changeset 17349:2d9d53b509fd
In debug messages about unknown message element types, display character in addition to numeric code.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sun, 03 Jun 2007 01:55:50 +0000 |
parents | d8903e1320a9 |
children | bfda36bd957a |
files | libpurple/protocols/myspace/message.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/message.c Sun Jun 03 01:28:59 2007 +0000 +++ b/libpurple/protocols/myspace/message.c Sun Jun 03 01:55:50 2007 +0000 @@ -71,7 +71,7 @@ break; /* TODO: other types */ default: - purple_debug_info("msim", "msim_msg_clone_element: unknown type %d\n", elem->type); + purple_debug_info("msim", "msim_msg_clone_element: unknown type %d (%c)\n", elem->type, elem->type); g_return_if_fail(NULL); } @@ -137,8 +137,8 @@ break; default: - purple_debug_info("msim", "msim_msg_free_element: not freeing unknown type %d\n", - elem->type); + purple_debug_info("msim", "msim_msg_free_element: not freeing unknown type %d (%c)\n", + elem->type, elem->type); break; } @@ -233,7 +233,7 @@ break; default: - purple_debug_info("msim", "msim_send: unknown type %d\n", type); + purple_debug_info("msim", "msim_send: unknown type %d (%c)\n", type, type); break; } } while(key); @@ -375,7 +375,7 @@ break; default: - string = g_strdup_printf("%s(unknown type %d)", elem->name, elem->type); + string = g_strdup_printf("%s(unknown type %d (%c)", elem->name, elem->type); break; } @@ -443,7 +443,7 @@ return NULL; default: - purple_debug_info("msim", "field %s, unknown type %d\n", elem->name, elem->type); + purple_debug_info("msim", "field %s, unknown type %d (%c)\n", elem->name, elem->type, elem->type); return NULL; } }