view libpurple/plugins/mono/loader/debug-glue.c @ 28059:1d2425f2e4ff

Woah, this was wrong. MY BAD! We should not be setting this to true just because we get an unknown html tag (or in this case an unescaped '<'). This fixes bug #10021 and I think probably another duplicate bug
author Mark Doliner <mark@kingant.net>
date Sat, 22 Aug 2009 18:24:19 +0000
parents fd5dfd3c04b5
children a8cc50c2279f
line wrap: on
line source

#include "mono-glue.h"
#include "debug.h"

void purple_debug_glue(int type, MonoString *cat, MonoString *str)
{
	char *ccat;
	char *cstr;
	
	ccat = mono_string_to_utf8(cat);
	cstr = mono_string_to_utf8(str);
	
	purple_debug(type, ccat, "%s", cstr);
	
	g_free(ccat);
	g_free(cstr);
}