Removed the last g_print calls
authorFrank Zschockelt <lm@freakysoft.de>
Sat, 11 May 2019 22:15:56 +0200
changeset 736 97f3ff94976f
parent 735 7ae46452fb10
child 737 ca896de7b10d
Removed the last g_print calls The calls g_print() in lm-debug.c don't count, because the log handler is normally provided by the application.
loudmouth/lm-old-socket.c
loudmouth/lm-parser.c
--- a/loudmouth/lm-old-socket.c	Sat May 11 22:14:44 2019 +0200
+++ b/loudmouth/lm-old-socket.c	Sat May 11 22:15:56 2019 +0200
@@ -641,7 +641,6 @@
                               addr->ai_protocol);
 
     if (!_LM_SOCK_VALID (fd)) {
-        g_print("invalid fd\n");
         g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_NET,
                "Failed making socket, error:%d...\n",
                _lm_sock_get_last_error ());
@@ -683,7 +682,6 @@
         err = _lm_sock_get_last_error ();
         if (!_lm_sock_is_blocking_error (err)) {
             _lm_sock_close (connect_data->fd);
-            g_print("unable to connect\n");
             return _lm_old_socket_failed_with_error (connect_data, err);
         }
     }
--- a/loudmouth/lm-parser.c	Sat May 11 22:14:44 2019 +0200
+++ b/loudmouth/lm-parser.c	Sat May 11 22:15:56 2019 +0200
@@ -161,10 +161,6 @@
 
     //cur_node->name doesn't have namespace prefix anymore, node_name does.
     if (strcmp (parser->cur_node->name, node_name_unq) != 0) {
-        if (strcmp (node_name, "stream:stream")) {
-            g_print ("Got an stream:stream end\n");
-        }
-
         g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_PARSER,
                "Trying to close node that isn't open: %s",
                node_name_unq);