From 58e70fe13318f7b555770a8786dc81fc28017f91 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Jul 2012 18:16:00 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@980 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/userutils.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/Gadu-Gadu/userutils.cpp') diff --git a/protocols/Gadu-Gadu/userutils.cpp b/protocols/Gadu-Gadu/userutils.cpp index 5982d93aa7..583994f9fa 100644 --- a/protocols/Gadu-Gadu/userutils.cpp +++ b/protocols/Gadu-Gadu/userutils.cpp @@ -289,9 +289,7 @@ HANDLE GGPROTO::hookProtoEvent(const char* szEvent, GGEventFunc handler) void GGPROTO::createProtoService(const char* szService, GGServiceFunc serviceProc) { - char str[MAXMODULELABELLENGTH]; - mir_snprintf(str, sizeof(str), "%s%s", m_szModuleName, szService); - CreateServiceFunctionObj(str, (MIRANDASERVICEOBJ)*( void** )&serviceProc, this); + CreateServiceFunctionObj(szService, (MIRANDASERVICEOBJ)*( void** )&serviceProc, this); } ////////////////////////////////////////////////////////// -- cgit v1.2.3