diff finch/gntstatus.c @ 30692:1f44f0144ff8

Get rid of a few unnecessary strlen/g_snprintf's. This change also includes HanzZ's patch (slightly modified) to fix a valgrind error: Conditional jump or move depends on uninitialised value(s) at 0x4C28029: strlen (mc_replace_strmem.c:242) by 0x54E5821: g_strdup (in /usr/lib/libglib-2.0.so.0.2000.1) by 0x520B276: purple_url_parse (in /usr/lib/libpurple.so.0.7.1) by 0x520BBE1: (within /usr/lib/libpurple.so.0.7.1) by 0x471330: io_invoke(_GIOChannel*, GIOCondition, void*) (geventloop.cpp:51) by 0x54C5209: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.2000.1) by 0x54C88DF: (within /usr/lib/libglib-2.0.so.0.2000.1) by 0x54C8DAC: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.2000.1) by 0x482BEE: GlooxMessageHandler::GlooxMessageHandler(std::string const&) (main.cpp:1016) by 0x4830E3: main (main.cpp:1996)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 12 Jul 2010 15:13:31 +0000
parents 88d889b54df4
children a8cc50c2279f
line wrap: on
line diff