summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-06 15:43:01 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-06 15:43:01 -0400
commit037a3916bc9ed3633b276e0589767521e8bbe602 (patch)
tree8e2782e6f65c6a99ec28b7c0c8a95f0d8985ce7a
parent8a5abfbfc3ec40f860242faa583b33ea31b7cf1a (diff)
ecore-wl2: only print socket ERR messages when not attempting to reconnect
reduces spamming in logs
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index a993ea119b..42fb57a677 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -300,11 +300,13 @@ _recovery_timer_add(Ecore_Wl2_Display *ewd)
300static void 300static void
301_begin_recovery_maybe(Ecore_Wl2_Display *ewd) 301_begin_recovery_maybe(Ecore_Wl2_Display *ewd)
302{ 302{
303 ERR("Wayland Socket Error: %s", strerror(errno));
304 if (ewd->wl.session_recovery)// && (errno == EPIPE)) 303 if (ewd->wl.session_recovery)// && (errno == EPIPE))
305 _recovery_timer_add(ewd); 304 _recovery_timer_add(ewd);
306 else 305 else
307 _ecore_wl2_display_signal_exit(); 306 {
307 ERR("Wayland Socket Error: %s", strerror(errno));
308 _ecore_wl2_display_signal_exit();
309 }
308} 310}
309 311
310static Eina_Bool 312static Eina_Bool