Commit 7cd1e328 authored by Ignacio Casal Quinteiro's avatar Ignacio Casal Quinteiro
Browse files

websocket-connection: avoid printing debug message when there is no error

https://bugzilla.gnome.org/show_bug.cgi?id=784935
parent 46665e43
......@@ -563,14 +563,14 @@ close_connection (SoupWebsocketConnection *self,
if (pv->connection_type == SOUP_WEBSOCKET_CONNECTION_SERVER) {
g_debug ("Wrong closing code %d received for a server connection",
code);
break;
}
break;
case SOUP_WEBSOCKET_CLOSE_SERVER_ERROR:
if (pv->connection_type != SOUP_WEBSOCKET_CONNECTION_SERVER) {
g_debug ("Wrong closing code %d received for a non server connection",
code);
break;
}
break;
default:
g_debug ("Wrong closing code %d received", code);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment