lets check write err so we dont get warnings. :/

SVN revision: 67287
This commit is contained in:
Carsten Haitzler 2012-01-18 04:13:52 +00:00
parent 0e9a475092
commit 25171bf215
1 changed files with 2 additions and 2 deletions

View File

@ -280,13 +280,13 @@ ecore_con_info_get(Ecore_Con_Server *svr,
memcpy(container->service, sbuf, sizeof(container->service));
}
write(fd[1], tosend, tosend_len);
if (write(fd[1], tosend, tosend_len) < 0) perror("write");
}
if (result)
freeaddrinfo(result);
write(fd[1], "", 1);
if (write(fd[1], "", 1) < 0) perror("write");
close(fd[1]);
#if defined(__USE_ISOC99) && !defined(__UCLIBC__)
_Exit(0);