From: Vitaliy Cherepanov Date: Wed, 8 Apr 2015 10:29:22 +0000 (+0300) Subject: [FIX] orientation value in MSG_SCREENSHOT X-Git-Tag: submit/tizen/20151105.071836~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b3fbd56329a3327fe20b556157c381cb84ef331;p=platform%2Fcore%2Fsystem%2Fswap-probe.git [FIX] orientation value in MSG_SCREENSHOT Change-Id: Iab3d7976e685fdd5308242ab036e4a9fc92fd79e Signed-off-by: Vitaliy Cherepanov --- diff --git a/helper/dacapture.c b/helper/dacapture.c index a92a009..2acc80d 100755 --- a/helper/dacapture.c +++ b/helper/dacapture.c @@ -374,7 +374,7 @@ int captureScreen() PACK_COMMON_END('d', 0, 0, 0); PACK_SCREENSHOT(dstpath, getOrientation()); SET_MSG_LEN(); - log.length = GET_MSG_LEN() + MSG_LEN_OFFSET + strlen(dstpath) + 1; + log.length = GET_MSG_LEN() + MSG_HDR_LEN + strlen(dstpath) + 1; /* send all message */ printLog(&log, MSG_IMAGE);