# HG changeset patch
# User melunko
# Date 1168462375 0
# Node ID 7776e35d59d4d4c23e973202665dbeae33ef44b7
# Parent  2c58a3ab5ee75bd5bc0772b5926f9e2a5b669cd4
[svn r257] some debug messages removed

diff -r 2c58a3ab5ee7 -r 7776e35d59d4 gmyth/gmyth.pc.in
--- a/gmyth/gmyth.pc.in	Wed Jan 10 20:51:00 2007 +0000
+++ b/gmyth/gmyth.pc.in	Wed Jan 10 20:52:55 2007 +0000
@@ -8,5 +8,5 @@
 Version: @VERSION@
 Requires: gobject-2.0 glib-2.0
 
-Libs: @MYSQL_LIBS@ @CYBERLINK_LIBS@ -L${libdir} -lgmyth
-Cflags: @MYSQL_CFLAGS@ @CYBERLINK_CFLAGS@ -I${includedir}/gmyth
+Libs: @MYSQL_LIBS@ -L${libdir} -lgmyth
+Cflags: -I${includedir}/gmyth
diff -r 2c58a3ab5ee7 -r 7776e35d59d4 gmyth/src/gmyth_backendinfo.c
--- a/gmyth/src/gmyth_backendinfo.c	Wed Jan 10 20:51:00 2007 +0000
+++ b/gmyth/src/gmyth_backendinfo.c	Wed Jan 10 20:52:55 2007 +0000
@@ -123,20 +123,14 @@
     GMythBackendInfo *backend_info = 
         GMYTH_BACKEND_INFO (g_object_new(GMYTH_BACKEND_INFO_TYPE, NULL));
         
-	gmyth_debug ("XXX %s %d\n", __FUNCTION__, __LINE__);
     GMythURI* uri = gmyth_uri_new_with_value( uri_str );
-	gmyth_debug ("XXX %s %d\n", __FUNCTION__, __LINE__);
     
     gmyth_backend_info_set_hostname (backend_info, gmyth_uri_get_host (uri ) );
-	gmyth_debug ("%s\n", gmyth_uri_get_host (uri ));
     gmyth_backend_info_set_username (backend_info, gmyth_uri_get_user( uri ) );
-	gmyth_debug ("%s\n", gmyth_uri_get_user( uri ));
     gmyth_backend_info_set_password (backend_info, gmyth_uri_get_password( uri ) );
-	gmyth_debug ("%s\n", gmyth_uri_get_password( uri ));
     gmyth_backend_info_set_db_name (backend_info, strlen( gmyth_uri_get_fragment( uri ) ) > 0 
     				? gmyth_uri_get_fragment( uri ) : gmyth_uri_get_query( uri ) );
     gmyth_backend_info_set_port (backend_info, gmyth_uri_get_port( uri ) );
-	gmyth_debug ("%s\n", gmyth_backend_info_get_db_name(backend_info) );
 		
     return backend_info;
 }
diff -r 2c58a3ab5ee7 -r 7776e35d59d4 gmyth/src/gmyth_query.c
--- a/gmyth/src/gmyth_query.c	Wed Jan 10 20:51:00 2007 +0000
+++ b/gmyth/src/gmyth_query.c	Wed Jan 10 20:52:55 2007 +0000
@@ -168,14 +168,14 @@
 static void
 gmyth_query_print_error (MYSQL *conn, char *message)
 {
-    fprintf (stderr, "%s\n", message);
+    g_debug ("%s", message);
     
     if (conn != NULL) {
 #if MYSQL_VERSION_ID >= 40101
-        fprintf (stderr, "Error %u (%s): %s\n",
+        g_debug ("Error %u (%s): %s\n",
                 mysql_errno (conn), mysql_sqlstate(conn), mysql_error (conn));
 #else
-        fprintf (stderr, "Error %u: %s\n",
+        g_debug ("Error %u: %s\n",
                mysql_errno (conn), mysql_error (conn));
 #endif
     }
diff -r 2c58a3ab5ee7 -r 7776e35d59d4 gmyth/src/gmyth_scheduler.c
--- a/gmyth/src/gmyth_scheduler.c	Wed Jan 10 20:51:00 2007 +0000
+++ b/gmyth/src/gmyth_scheduler.c	Wed Jan 10 20:52:55 2007 +0000
@@ -151,8 +151,8 @@
 
     if (scheduler->msqlquery == NULL) {
         g_warning ("[%s] GMythScheduler db initializing", __FUNCTION__);
-	    scheduler->msqlquery = gmyth_query_new ();		
-	}
+        scheduler->msqlquery = gmyth_query_new ();		
+    }
 
     if (!gmyth_query_connect(scheduler->msqlquery, scheduler->backend_info)) {
     	g_warning ("[%s] Error while connecting to db", __FUNCTION__);
diff -r 2c58a3ab5ee7 -r 7776e35d59d4 gmyth/src/gmyth_socket.c
--- a/gmyth/src/gmyth_socket.c	Wed Jan 10 20:51:00 2007 +0000
+++ b/gmyth/src/gmyth_socket.c	Wed Jan 10 20:52:55 2007 +0000
@@ -525,7 +525,7 @@
     gmyth_debug ("CONNECTING %s:%d", hostname, port);
 
     if ( hostname == NULL )
-			gmyth_debug ( "[%s] Invalid hostname parameter!\n", __FUNCTION__ );
+        gmyth_debug ( "[%s] Invalid hostname parameter!\n", __FUNCTION__ );
 
     /* store hostname and port number */
     if (gmyth_socket->hostname != NULL) {