Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2004 14:00:01 +0300 (EEST)
From:      "Andriy N. Gritsenko" <andrej@lucky.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        "Andriy N. Gritsenko" <andrej@lucky.net>
Subject:   ports/66352: Translation bug in licq daemon version 1.2.7.
Message-ID:  <200405071100.i47B01EQ020724@klotik.lucky.net>
Resent-Message-ID: <200405071100.i47B0hiX003312@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66352
>Category:       ports
>Synopsis:       Translation bug in licq daemon version 1.2.7.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 07 04:00:43 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrej N. Gritsenko
>Release:        FreeBSD 4.8-RELEASE-p15 i386
>Organization:
Lucky Net Ltd.
>Environment:
System: FreeBSD klotik.lucky.net 4.8-RELEASE-p15 FreeBSD 4.8-RELEASE-p15 #2: Wed Feb 25 14:00:59 EET 2004 zorick@klotik.lucky.net:/usr/src.R48/sys/compile/klotik i386


>Description:
	If configuration parameter Translation isn't 'none' then when you
	receive some packets their content is translated twise (from some
	charset to another one) and gets unreadable.

>How-To-Repeat:
	Set Translation parameter in licq.conf to RUSSIAN_WIN. Start Licq.
	Set charsets to KOI8-R. Login and go into Invisible mode then talk
	with someone via server. Voila.

>Fix:

	The patch removes extra translation from process message.

--- src/icqd-srv.cpp.orig	Wed Jun 25 08:40:16 2003
+++ src/icqd-srv.cpp	Fri May  7 13:07:09 2004
@@ -2145,7 +2145,7 @@ void CICQDaemon::ProcessMessageFam(CBuff
       char *szMsg = gTranslator.RNToN(message);
       delete [] message;
 
-      gTranslator.ServerToClient(szMsg);
+//      gTranslator.ServerToClient(szMsg);
 
       bool bNewUser = false;
       ICQUser *u = gUserManager.FetchUser(nUin, LOCK_W);
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405071100.i47B01EQ020724>