fixed bug in clientDisconnect handling and modified debug level for tv 88/125888/1
authorkmook <kmook.choi@samsung.com>
Wed, 19 Apr 2017 08:17:01 +0000 (17:17 +0900)
committerkmook <kmook.choi@samsung.com>
Wed, 19 Apr 2017 08:17:01 +0000 (17:17 +0900)
Change-Id: I5b127eddfb7cc0421865d143a9e41869fc6c9750
Signed-off-by: kmook <kmook.choi@samsung.com>
common/Log.h
msf_tizen_client/include/Debug.h
msf_tizen_client/src/Channel.cpp

index 52680be78a083529f0de175a78a9a92bda946a52..f76f97753666e3c1f1f44e2d873fd54fd2d2072a 100644 (file)
@@ -37,7 +37,7 @@
 
 /* Logging and Error Handling */
 #define _I SLOGI
-#define _D SLOGD
+#define _D SLOGI
 #define _W SLOGW
 #define _E SLOGE
 #define _SI SECURE_SLOGI
index 44962831d7bd7d7b010cc5bb8242d1f463e24ec5..6105ac1975fb9f3b5322db938ea05ebdfa2b3c1f 100755 (executable)
@@ -21,7 +21,7 @@
 #include <dlog.h>
 #undef LOG_TAG
 #define LOG_TAG "MSF_API"
-#define MSF_DBG(format, args...) (SLOGD(format, ##args))
+#define MSF_DBG(format, args...) (SLOGI(format, ##args))
 #define MSF_ERR(format, args...) (SLOGE(format, ##args))
 #endif
 
index eafe6c937f6cdbc7b75267c72c84296810e9c1a9..b0045fd1c121e6d57efae78d92395cb85186695c 100755 (executable)
@@ -742,7 +742,7 @@ void Channel::handleClientDisconnectMessage() {
                return;
        }
 
-       Client client = clients->get(clientid);
+       Client client = clients->get(from);
        if (client.isHost()) {
                connected = false;
        }