Prevent abnormal abort of the tlm daemon on duplicated login 14/52614/2
authorYoumin Ha <youmin.ha@samsung.com>
Wed, 25 Nov 2015 05:56:33 +0000 (14:56 +0900)
committerSuchang Woo <suchang.woo@samsung.com>
Thu, 10 Dec 2015 04:27:40 +0000 (20:27 -0800)
Changed ERR macro to WARN, to prevent abnormal abort of the tlm
daemon.

Change-Id: Id8284557396f84f53dea74c9609e8d529ce89379

src/daemon/tlm-seat.c

index bbe0815..c8ab7da 100644 (file)
@@ -578,7 +578,7 @@ tlm_seat_create_session (TlmSeat *seat,
 
     // Ignore creating session if there is an existing session already
     if (priv->session != NULL) {
-        ERR("Session already exists on this seat(%s)", priv->id);
+        WARN("Session already exists on this seat(%s)", priv->id);
         g_signal_emit (seat, signals[SIG_SESSION_ERROR],  0,
                 TLM_ERROR_SESSION_ALREADY_EXISTS);
         return FALSE;