[FIX] orientation value in MSG_SCREENSHOT 65/39465/1
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Wed, 8 Apr 2015 10:29:22 +0000 (13:29 +0300)
committerVitaliy Andreevich <v.cherepanov@samsung.com>
Fri, 15 May 2015 11:05:22 +0000 (04:05 -0700)
Change-Id: Iab3d7976e685fdd5308242ab036e4a9fc92fd79e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
helper/dacapture.c

index a92a009..2acc80d 100755 (executable)
@@ -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);