Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoo_packet.c @ 27967:e1cd44c7c7af
explicit merge of 'd957c051e839d63bfc0ef71320934890e7ae63c4'
and '7fbd51e5a790f5cf3275a0bb8a8198acd078b4ec'
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 25 Jul 2009 04:54:36 +0000 |
parents | 85fa979b08c2 07d09a987b86 |
children | 8be4bea98188 |
comparison
equal
deleted
inserted
replaced
27966:b4daae0798e3 | 27967:e1cd44c7c7af |
---|---|
188 x = delimiter - data; | 188 x = delimiter - data; |
189 pair->value = g_strndup((const gchar *)&data[pos], x - pos); | 189 pair->value = g_strndup((const gchar *)&data[pos], x - pos); |
190 pos = x; | 190 pos = x; |
191 pkt->hash = g_slist_prepend(pkt->hash, pair); | 191 pkt->hash = g_slist_prepend(pkt->hash, pair); |
192 | 192 |
193 if (purple_debug_is_verbose()) { | 193 if (purple_debug_is_verbose() || g_getenv("PURPLE_YAHOO_DEBUG")) { |
194 char *esc; | 194 char *esc; |
195 esc = g_strescape(pair->value, NULL); | 195 esc = g_strescape(pair->value, NULL); |
196 purple_debug_misc("yahoo", "Key: %d \tValue: %s\n", pair->key, esc); | 196 purple_debug_misc("yahoo", "Key: %d \tValue: %s\n", pair->key, esc); |
197 g_free(esc); | 197 g_free(esc); |
198 } | 198 } |