From 973abfb97357fd22d644377d5fc17f93b68affea Mon Sep 17 00:00:00 2001 From: Munkyu Im Date: Mon, 28 Dec 2015 20:07:15 +0900 Subject: [PATCH] sdb: increase buffer size If connect to remote emulator, the format of serial name is not "emulator-261x1" but "${IP address}:26101" And it requires more buffer size. Change-Id: I31a9986f0afd6c17ff92a5c6e94b1d7624a707e1 Signed-off-by: Munkyu Im --- tizen/src/util/sdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tizen/src/util/sdb.c b/tizen/src/util/sdb.c index ad177ec9c9..7ba0d14cfa 100644 --- a/tizen/src/util/sdb.c +++ b/tizen/src/util/sdb.c @@ -267,7 +267,7 @@ static void send_to_sdb_client(SDB_Client* client, int state) struct sockaddr_in sock_addr; int s, slen = sizeof(sock_addr); int serial_len = 0; - char buf [32]; + char buf[64]; if ((s = socket(AF_INET, SOCK_STREAM, 0)) == -1){ INFO("socket creation error! %d\n", errno); -- 2.34.1