[ekg2-commit] r4243 - trunk/plugins/gg: trunk/plugins/gg/gg.c trunk/plugins/gg/pubdir50.c
SVN commit
svn w toxygen.net
Pią, 8 Sie 2008, 21:36:54 CEST
Author: darkjames
Date: 2008-08-08 21:36:54 +0200 (Fri, 08 Aug 2008)
New Revision: 4243
Modified:
trunk/plugins/gg/gg.c
trunk/plugins/gg/pubdir50.c
Log:
[gg] stop using gg_debug() we've got our own debug.
Modified: trunk/plugins/gg/gg.c
===================================================================
--- trunk/plugins/gg/gg.c 2008-08-08 19:16:41 UTC (rev 4242)
+++ trunk/plugins/gg/gg.c 2008-08-08 19:36:54 UTC (rev 4243)
@@ -932,16 +932,16 @@
int i, len = xstrlen(__text), ii, skip = gg_config_skip_default_format;
static char win_gg_default_format[6] = { 0x00, 0x00, 0x08, 0x00, 0x00, 0x00 };
- gg_debug(GG_DEBUG_DUMP, "// formats:");
+ debug_white("// formats:");
for (ii = 0; ii < e->event.msg.formats_length; ii++) {
skip &= (p[ii] == win_gg_default_format[ii]);
- gg_debug(GG_DEBUG_DUMP, " %.2x", (unsigned char) p[ii]);
+ debug_white(" %.2x", (unsigned char) p[ii]);
}
if (skip)
- gg_debug(GG_DEBUG_DUMP, " <- skipping");
+ debug_white(" <- skipping");
else
__format = xcalloc(len, sizeof(uint32_t));
- gg_debug(GG_DEBUG_DUMP, "\n");
+ debug_white("\n");
/* XXX, check it. especially this 'pos' */
if (!skip) for (i = 0; i < e->event.msg.formats_length; ) {
Modified: trunk/plugins/gg/pubdir50.c
===================================================================
--- trunk/plugins/gg/pubdir50.c 2008-08-08 19:16:41 UTC (rev 4242)
+++ trunk/plugins/gg/pubdir50.c 2008-08-08 19:36:54 UTC (rev 4243)
@@ -22,6 +22,7 @@
#include <string.h>
#include <ekg/commands.h>
+#include <ekg/debug.h>
#include <ekg/sessions.h>
#include <ekg/themes.h>
#include <ekg/userlist.h>
@@ -305,7 +306,7 @@
return;
}
- gg_debug(GG_DEBUG_MISC, "handle_search50, count = %d\n", gg_pubdir50_count(res));
+ debug_function("gg_session_handler_search50() handle_search50, count = %d\n", gg_pubdir50_count(res));
for (l = g->searches; l; l = l->next) {
gg_pubdir50_t req = l->data;
Więcej informacji o liście dyskusyjnej ekg2-commit