| 185 x = delimiter - data; |
185 x = delimiter - data; |
| 186 pair->value = g_strndup((const gchar *)&data[pos], x - pos); |
186 pair->value = g_strndup((const gchar *)&data[pos], x - pos); |
| 187 pos = x; |
187 pos = x; |
| 188 pkt->hash = g_slist_prepend(pkt->hash, pair); |
188 pkt->hash = g_slist_prepend(pkt->hash, pair); |
| 189 |
189 |
| 190 if (purple_debug_is_verbose()) { |
190 if (purple_debug_is_verbose() || g_getenv("PURPLE_YAHOO_DEBUG")) { |
| 191 char *esc; |
191 char *esc; |
| 192 esc = g_strescape(pair->value, NULL); |
192 esc = g_strescape(pair->value, NULL); |
| 193 purple_debug_misc("yahoo", "Key: %d \tValue: %s\n", pair->key, esc); |
193 purple_debug_misc("yahoo", "Key: %d \tValue: %s\n", pair->key, esc); |
| 194 g_free(esc); |
194 g_free(esc); |
| 195 } |
195 } |