prevent from msg-server crash when failed creating thumbnail 46/71746/1 accepted/tizen/common/20160527.152738 accepted/tizen/ivi/20160527.052206 accepted/tizen/mobile/20160527.051701 accepted/tizen/wearable/20160527.052000 submit/tizen/20160527.020259
authorKyeonghun Lee <kh9090.lee@samsung.com>
Fri, 27 May 2016 03:42:25 +0000 (12:42 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Fri, 27 May 2016 03:42:25 +0000 (12:42 +0900)
Change-Id: I70e39fdf40e2bfed705f7ccadcd7684a4bec4140
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
utils/MsgUtilFile.cpp

index 5aa59dd..afb0c82 100755 (executable)
@@ -67,7 +67,7 @@ void thumbnail_completed_cb(thumbnail_util_error_e error, const char *request_id
        MSG_DEBUG("error_code [%d]", error);
        MSG_DEBUG("request id [%s]", request_id);
        MSG_DEBUG("width [%d], height [%d]", thumb_width, thumb_height);
-       MSG_DEBUG("raw_data [0x%x], size [%d]", *thumb_data, thumb_size);
+       MSG_DEBUG("size [%d]", thumb_size);
 
        int ret = 0;
        ret = image_util_encode_jpeg(thumb_data, thumb_width, thumb_height, IMAGE_UTIL_COLORSPACE_BGRA8888, 100, (char *)user_data);