[Spice-devel] [PATCH spice-gtk 2/3] sasl: lower visibility of normal debug message

Marc-André Lureau marcandre.lureau at gmail.com
Wed Mar 7 12:09:34 PST 2012


Those two g_critical() can happen when collecting credentials for the
first time. It is not something to be warned about, but merely useful
for debugging
---
 gtk/spice-channel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c
index 79775f9..a2bcdae 100644
--- a/gtk/spice-channel.c
+++ b/gtk/spice-channel.c
@@ -1437,7 +1437,7 @@ restart:
     /* Need to gather some credentials from the client */
     if (err == SASL_INTERACT) {
         if (!spice_channel_gather_sasl_credentials(channel, interact)) {
-            g_critical("Failed to collect auth credentials");
+            SPICE_DEBUG("Failed to collect auth credentials");
             goto error;
         }
         goto restart;
@@ -1518,7 +1518,7 @@ restart:
         if (err == SASL_INTERACT) {
             if (!spice_channel_gather_sasl_credentials(channel,
                                                        interact)) {
-                g_critical("%s", "Failed to collect auth credentials");
+                SPICE_DEBUG("%s", "Failed to collect auth credentials");
                 goto error;
             }
             goto restep;
-- 
1.7.7.6



More information about the Spice-devel mailing list