diff src/protocols/yahoo/yahoo.c @ 11801:81806e9241be

[gaim-migrate @ 14092] Cleanups, mostly // -> /* */ and moved g_print's to gaim_debug_info, and a few c99ism fixes.. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Mon, 24 Oct 2005 21:48:21 +0000
parents 32bac0647037
children b4602ccb4e69
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Mon Oct 24 20:56:12 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Mon Oct 24 21:48:21 2005 +0000
@@ -694,7 +694,7 @@
 				if (im)
 					im->msg = pair->value;
 			}
-			// IMV key
+			/* IMV key */
 			if (pair->key == 63)
 			{
 				strcpy( imv, pair->value );
@@ -706,23 +706,21 @@
 		                  _("Your Yahoo! message did not get sent."), NULL);
 	}
 
-	// Check for the Doodle IMV
+	/* Check for the Doodle IMV */
 	if( !strcmp( imv, "doodle;11" ) )
 	{
+		GaimWhiteboard *wb;
+
 		if (!yahoo_privacy_check(gc, im->from)) {
 			gaim_debug_info("yahoo", "Doodle request from %s dropped.\n", im->from);
 			return;
 		}
-		GaimWhiteboard *wb;
-
-		g_print( "'doodle;11' found in chat packet\n" );
 
 		wb = gaim_whiteboard_get_session( gc->account, im->from );
 
-		// If a Doodle session doesn't exist between this user
+		/* If a Doodle session doesn't exist between this user */
 		if( wb == NULL )
 		{
-			g_print( "Creating new whiteboard for chat packet request\n" );
 			wb = gaim_whiteboard_create( gc->account, im->from, DOODLE_STATE_REQUESTED );
 
 			yahoo_doodle_command_send_request( gc, im->from );
@@ -3014,7 +3012,7 @@
 	if (wb)
 		yahoo_packet_hash_str(pkt,   63, "doodle;11");
 	else
-		yahoo_packet_hash_str(pkt,   63, ";0"); // IMvironment
+		yahoo_packet_hash_str(pkt,   63, ";0"); /* IMvironment */
 
 	yahoo_packet_hash_str(pkt,   64, "0"); /* no idea */
 	yahoo_packet_hash_str(pkt, 1002, "1"); /* no idea, Yahoo 6 or later only it seems */