comparison libpurple/protocols/myspace/user.c @ 24778:5f8e8b89b143

Remove a bunch of calls to msim_msg_dump(). I find it really annoying that incoming messages get printed multiple times. The entire thing is printed in msim_parse(), so why would we want to print it anywhere else?
author Mark Doliner <mark@kingant.net>
date Tue, 16 Dec 2008 21:31:05 +0000
parents 295464ae2d2a
children 8e75a1525156
comparison
equal deleted inserted replaced
24777:b9e1e062007e 24778:5f8e8b89b143
530 /*g_return_if_fail(cb != NULL);*/ 530 /*g_return_if_fail(cb != NULL);*/
531 531
532 purple_debug_info("msim", "msim_lookup_userid: " 532 purple_debug_info("msim", "msim_lookup_userid: "
533 "asynchronously looking up <%s>\n", user); 533 "asynchronously looking up <%s>\n", user);
534 534
535 msim_msg_dump("msim_lookup_user: data=%s\n", (MsimMessage *)data);
536
537 /* Setup callback. Response will be associated with request using 'rid'. */ 535 /* Setup callback. Response will be associated with request using 'rid'. */
538 rid = msim_new_reply_callback(session, cb, data); 536 rid = msim_new_reply_callback(session, cb, data);
539 537
540 /* Send request */ 538 /* Send request */
541 539
585 583
586 purple_debug_info("msim","username_is_set made\n"); 584 purple_debug_info("msim","username_is_set made\n");
587 585
588 g_return_if_fail(MSIM_SESSION_VALID(session)); 586 g_return_if_fail(MSIM_SESSION_VALID(session));
589 587
590 msim_msg_dump("username_is_set message is: %s\n", userinfo);
591 cmd = msim_msg_get_integer(userinfo, "cmd"); 588 cmd = msim_msg_get_integer(userinfo, "cmd");
592 dsn = msim_msg_get_integer(userinfo, "dsn"); 589 dsn = msim_msg_get_integer(userinfo, "dsn");
593 uid = msim_msg_get_integer(userinfo, "uid"); 590 uid = msim_msg_get_integer(userinfo, "uid");
594 lid = msim_msg_get_integer(userinfo, "lid"); 591 lid = msim_msg_get_integer(userinfo, "lid");
595 body = msim_msg_get_dictionary(userinfo, "body"); 592 body = msim_msg_get_dictionary(userinfo, "body");
672 g_return_if_fail(username != NULL); 669 g_return_if_fail(username != NULL);
673 g_return_if_fail(cb != NULL); 670 g_return_if_fail(cb != NULL);
674 671
675 purple_debug_info("msim", "msim_set_username: " 672 purple_debug_info("msim", "msim_set_username: "
676 "Setting username %s\n", username); 673 "Setting username %s\n", username);
677
678 msim_msg_dump("msim_set_username: data=%s\n", (MsimMessage *)data);
679 674
680 /* Setup callback. Response will be associated with request using 'rid'. */ 675 /* Setup callback. Response will be associated with request using 'rid'. */
681 rid = msim_new_reply_callback(session, cb, data); 676 rid = msim_new_reply_callback(session, cb, data);
682 677
683 /* TODO: I dont know if the ContactType is -/ALWAYS/- 1 */ 678 /* TODO: I dont know if the ContactType is -/ALWAYS/- 1 */