[Licq-devel] Re: Patch with support of server stored user pictures
Sergey Kononenko <[email protected]>
| Newsgroups | gmane.network.licq.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, this is small patch on top of previous that fix segmentation fault after new user added. Sergey.
ssbi-licq-fix.patch
(text/x-patch, 405 B)
--- licq.orig/src/user.cpp 2007-12-07 18:22:37.000000000 +0200
+++ licq/src/user.cpp 2007-11-28 12:41:58.000000000 +0200
@@ -2342,8 +2342,8 @@
m_bPicturePresent = false;
m_nBuddyIconType = 0;
m_nBuddyIconHashType = 0;
- m_szBuddyIconHash = NULL;
- m_szOurBuddyIconHash = NULL;
+ m_szBuddyIconHash = strdup("");
+ m_szOurBuddyIconHash = strdup("");
// GPG key
m_szGPGKey = strdup("");