# HG changeset patch # User Christian Hammond # Date 1051347050 0 # Node ID 7b9d78fa051eb1949957ffb1b269371a2f2a6701 # Parent e807abdcee83da6ff1c1181bc87e5b830f7c0512 [gaim-migrate @ 5590] "prpl-yahoo" -> "yahoo" committer: Tailor Script diff -r e807abdcee83 -r 7b9d78fa051e src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Sat Apr 26 08:50:16 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Sat Apr 26 08:50:50 2003 +0000 @@ -252,7 +252,7 @@ pair->value = g_strdup(value); g_free(value); pkt->hash = g_slist_append(pkt->hash, pair); - gaim_debug(GAIM_DEBUG_MISC, "prpl-yahoo", + gaim_debug(GAIM_DEBUG_MISC, "yahoo", "Key: %d \tValue: %s\n", pair->key, pair->value); } else { g_free(pair); @@ -294,12 +294,12 @@ #ifdef YAHOO_DEBUG int i; - gaim_debug(GAIM_DEBUG_MISC, "prpl-yahoo", ""); + gaim_debug(GAIM_DEBUG_MISC, "yahoo", ""); for (i = 0; i + 1 < len; i += 2) { if ((i % 16 == 0) && i) { gaim_debug(GAIM_DEBUG_MISC, NULL, "\n"); - gaim_debug(GAIM_DEBUG_MISC, "prpl-yahoo", ""); + gaim_debug(GAIM_DEBUG_MISC, "yahoo", ""); } gaim_debug(GAIM_DEBUG_MISC, NULL, "%02x%02x ", data[i], data[i + 1]); @@ -308,12 +308,12 @@ gaim_debug(GAIM_DEBUG_MISC, NULL, "%02x", data[i]); gaim_debug(GAIM_DEBUG_MISC, NULL, "\n"); - gaim_debug(GAIM_DEBUG_MISC, "prpl-yahoo", ""); + gaim_debug(GAIM_DEBUG_MISC, "yahoo", ""); for (i = 0; i < len; i++) { if ((i % 16 == 0) && i) { gaim_debug(GAIM_DEBUG_MISC, NULL, "\n"); - gaim_debug(GAIM_DEBUG_MISC, "prpl-yahoo", ""); + gaim_debug(GAIM_DEBUG_MISC, "yahoo", ""); } if (isprint(data[i])) @@ -449,7 +449,7 @@ do_error_dialog(pair->value, NULL, GAIM_ERROR); break; default: - gaim_debug(GAIM_DEBUG_ERROR, "prpl-yahoo", + gaim_debug(GAIM_DEBUG_ERROR, "yahoo", "Unknown status key %d\n", pair->key); break; } @@ -540,7 +540,7 @@ struct buddy *bud = gaim_find_buddy(gc->account, from); void *free1=NULL, *free2=NULL; if (!bud) { - gaim_debug(GAIM_DEBUG_WARNING, "prpl-yahoo", + gaim_debug(GAIM_DEBUG_WARNING, "yahoo", "%s is playing a game, and doesn't want " "you to know.\n", from); } @@ -877,7 +877,7 @@ yahoo_process_auth(gc, pkt); break; default: - gaim_debug(GAIM_DEBUG_ERROR, "prpl-yahoo", + gaim_debug(GAIM_DEBUG_ERROR, "yahoo", "Unhandled service 0x%02x\n", pkt->service); break; } @@ -915,7 +915,7 @@ pos += 2; pktlen = yahoo_get16(yd->rxqueue + pos); pos += 2; - gaim_debug(GAIM_DEBUG_MISC, "prpl-yahoo", + gaim_debug(GAIM_DEBUG_MISC, "yahoo", "%d bytes to read, rxlen is %d\n", pktlen, yd->rxlen); if (yd->rxlen < (YAHOO_PACKET_HDRLEN + pktlen)) @@ -927,7 +927,7 @@ pkt->service = yahoo_get16(yd->rxqueue + pos); pos += 2; pkt->status = yahoo_get32(yd->rxqueue + pos); pos += 4; - gaim_debug(GAIM_DEBUG_MISC, "prpl-yahoo", + gaim_debug(GAIM_DEBUG_MISC, "yahoo", "Yahoo Service: 0x%02x Status: %d\n", pkt->service, pkt->status); pkt->id = yahoo_get32(yd->rxqueue + pos); pos += 4; @@ -993,7 +993,7 @@ if (!g_ascii_strncasecmp(account->proto_opt[USEROPT_PAGERHOST], "cs.yahoo.com", strlen("cs.yahoo.com"))) { /* Figured out the new auth method -- cs.yahoo.com likes to disconnect on buddy remove and add now */ - gaim_debug(GAIM_DEBUG_INFO, "prpl-yahoo", + gaim_debug(GAIM_DEBUG_INFO, "yahoo", "Setting new Yahoo! server.\n"); g_snprintf(account->proto_opt[USEROPT_PAGERHOST], strlen("scs.yahoo.com") + 1, "scs.yahoo.com");