gnome-mud r779 - in trunk: . src



Author: lharris
Date: Sun Mar  1 12:06:39 2009
New Revision: 779
URL: http://svn.gnome.org/viewvc/gnome-mud?rev=779&view=rev

Log:
MCCP Logging, removed faux errors.


Modified:
   trunk/ChangeLog
   trunk/src/gnome-mud.c
   trunk/src/mud-telnet-handlers.c

Modified: trunk/src/gnome-mud.c
==============================================================================
--- trunk/src/gnome-mud.c	(original)
+++ trunk/src/gnome-mud.c	Sun Mar  1 12:06:39 2009
@@ -109,12 +109,6 @@
     /* Turn on colored output in logger */
     g_object_set(logger, "use-color", TRUE, NULL);
 
-    g_critical("Foobar");
-    g_warning("Barfoo");
-    g_message("spam spam spam");
-    g_log(NULL, G_LOG_LEVEL_INFO, "Bazfoo");
-    g_log(NULL, G_LOG_LEVEL_DEBUG, "Foobazbar");
-
     mud_window_new();
 
     gtk_main();

Modified: trunk/src/mud-telnet-handlers.c
==============================================================================
--- trunk/src/mud-telnet-handlers.c	(original)
+++ trunk/src/mud-telnet-handlers.c	Sun Mar  1 12:06:39 2009
@@ -341,6 +341,7 @@
 void
 MudHandler_MCCP_Enable(MudTelnet *telnet, MudTelnetHandler *handler)
 {
+    g_log("Telnet", G_LOG_LEVEL_INFO, "MCCP Requested.");
     handler->enabled = TRUE;
     telnet->mccp = FALSE;
 }
@@ -360,6 +361,8 @@
         
         telnet->compress_out = NULL;
     }
+
+    g_log("Telnet", G_LOG_LEVEL_INFO, "MCCP Disabled.");
 }
 
 void
@@ -387,6 +390,8 @@
 
         mud_connection_view_disconnect(telnet->parent);
     }
+
+    g_log("Telnet", G_LOG_LEVEL_INFO, "MCCP Enabled.");
 }
 #endif
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]