ecs: minor fixes
authorchoisjin80 <jinhyung2.choi@samsung.com>
Wed, 15 May 2013 06:53:39 +0000 (15:53 +0900)
committerchoisjin80 <jinhyung2.choi@samsung.com>
Wed, 15 May 2013 06:53:39 +0000 (15:53 +0900)
Signed-off-by: choisjin80 <jinhyung2.choi@samsung.com>
tizen/src/ecs.c
tizen/src/hw/maru_virtio_evdi.c

index 7d8530f0a2636d5c2d319e7db9b4711098d3dd35..0dfda5ecbdc542cebb65a501cffcd45189ec6f08 100755 (executable)
@@ -161,9 +161,11 @@ void send_to_client(int fd, const char *str)
                        LOG("string is too long: overflow buffer.");
                        return;
                }
+#ifndef _WIN32
         if (c == '\n') {
             outbuf[outbuf_index++] = '\r';
                }
+#endif
         outbuf[outbuf_index++] = c;
                if (c == '\0') {
                        break;
index 8653b9bea44b5d45a548c59fbf5858c87c8e5af1..f8f44f144dbe2dd5362a73437967b092daeed638 100755 (executable)
@@ -167,8 +167,7 @@ static void flush_evdi_recv_queue(void)
 \r
                 memcpy(elem.in_sg[0].iov_base, &msginfo->info, sizeof(struct msg_info));\r
 \r
-                //INFO(">> send to guest count = %d, use = %d, msg = %s, iov_len = %d \n",\r
-                                ++g_cnt, msginfo->info.use, msginfo->info.buf, elem.in_sg[0].iov_len);\r
+                //INFO(">> send to guest count = %d, use = %d, msg = %s, iov_len = %d \n", ++g_cnt, msginfo->info.use, msginfo->info.buf, elem.in_sg[0].iov_len);\r
 \r
                 virtqueue_push(vio_evdi->rvq, &elem, sizeof(msg_info));\r
                 virtio_notify(&vio_evdi->vdev, vio_evdi->rvq);\r