Change-Id: I8c62a8c23b49aa03d6d590828c57094e1ce961bc
Signed-off-by: jusung son <jusung07.son@samsung.com>
while (left && (retry_cnt < MAX_RETRY_CNT)) {
nb = read(fd, buffer, left);
if (nb == 0) {
while (left && (retry_cnt < MAX_RETRY_CNT)) {
nb = read(fd, buffer, left);
if (nb == 0) {
- LOGE("read_socket: ...read EOF, socket closed %d: nb %d\n", fd, nb);
+ LOGE("read_socket: ...read EOF, socket closed %d: nb %zd\n", fd, nb);
return MESSAGE_PORT_ERROR_IO_ERROR;
} else if (nb == -1) {
/* wrt(nodejs) could change socket to none-blocking socket :-( */
return MESSAGE_PORT_ERROR_IO_ERROR;
} else if (nb == -1) {
/* wrt(nodejs) could change socket to none-blocking socket :-( */