Merge branch 'tizen' into tizen_5.5
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-common.c
index d329b6c..a4dbd38 100644 (file)
@@ -1403,7 +1403,7 @@ void _bt_print_api_caller_name(void)
 
        if (fgets(buf, 256, fp) != NULL) {
                str_list = g_strsplit(buf, " ", -1);
-               if (str_list[0] != '\0')
+               if (str_list[0] != NULL)
                        BT_INFO("Caller : %s", str_list[0]);
                g_strfreev(str_list);
        }
@@ -2507,4 +2507,3 @@ BT_EXPORT_API int bluetooth_unregister_callback(void)
 
        return BLUETOOTH_ERROR_NONE;
 }
-