OSDN Git Service

Shortened a debug message.
authorbeatles <beatles@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Wed, 26 Nov 2008 14:22:02 +0000 (14:22 +0000)
committerbeatles <beatles@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Wed, 26 Nov 2008 14:22:02 +0000 (14:22 +0000)
shogi_server/player.rb

index ab6b11c..cfc66f7 100644 (file)
@@ -207,8 +207,8 @@ class Player < BasicPlayer
         end
       end # while loop
       log_error("%s's socket closed." % [@name]) if @socket.closed?
-      log_message("There remain messages that are not yet sent to the client: %s" %
-                  [@write_queue.get_messages.join(", ")])
+      log_message("At least %d messages are not sent to the client." % 
+                  [@write_queue.get_messages.size])
     end # thread
   end