From: Munkyu Im Date: Mon, 28 Dec 2015 11:07:15 +0000 (+0900) Subject: sdb: increase buffer size X-Git-Tag: Tizen_Studio_1.3_Release_p2.3~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=973abfb97357fd22d644377d5fc17f93b68affea;p=sdk%2Femulator%2Fqemu.git 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 --- 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);