Fix DBG log msg build error 07/221107/1 accepted/tizen/unified/20200101.120633 submit/tizen/20191230.003618
authorhimanshu <h.himanshu@samsung.com>
Fri, 27 Dec 2019 06:09:20 +0000 (11:39 +0530)
committerhimanshu <h.himanshu@samsung.com>
Fri, 27 Dec 2019 06:09:58 +0000 (11:39 +0530)
Change-Id: I1f69ec095fd1e08369d8f1cec88f69d6ba28b0ed
Signed-off-by: himanshu <h.himanshu@samsung.com>
bt-share/src/obex-event-handler.c

index 9a6d51c..285dc96 100644 (file)
@@ -283,9 +283,10 @@ static void __free_file_info(bt_file_info_t *info)
 /* LCOV_EXCL_START */
 static bt_file_type_e __get_file_type(char *extn)
 {
-       DBG("extn : %s", extn);
-
        if (extn != NULL) {
+
+               DBG("extn : %s", extn);
+
                if (!strcmp(extn, "vcf"))
                        return BT_FILE_VCARD;
                else if (!strcmp(extn, "vcs"))