reported by trm at #licq

-- 
Buenos Aires, Argentina                           10°C with winds at 20 km/h W
Index: include/licq_message.h
===================================================================
RCS file: /cvsroot/licq/licq/include/licq_message.h,v
retrieving revision 1.14
diff -u -d -p -r1.14 licq_message.h
--- include/licq_message.h	2 Jul 2003 04:41:02 -0000	1.14
+++ include/licq_message.h	16 Jul 2003 03:12:12 -0000
@@ -388,7 +388,9 @@ class CContact
 public:
   CContact(const char *s, unsigned long n, const char *a)
     {  m_szId = strdup(s); m_nPPID = n; m_szAlias = strdup(a); }
-  CContact(unsigned long n, const char *a) { m_nUin = n; m_szAlias = strdup(a); }
+  CContact(unsigned long n, const char *a) 
+  { m_nUin = n; m_szAlias = strdup(a);
+    m_szId = (char *)malloc(16); if(m_szId) snprintf(m_szId, 16, "%ld", n); }
   ~CContact() { free(m_szAlias); free(m_szId); }
 
   unsigned long Uin() { return m_nUin; }

Attachment: pgp00000.pgp
Description: signature



Reply via email to