Mercurial > hg > toybox
view lib/net.c @ 1670:31dded5e0e09 draft
bootchartd: Removing wrong free call to non-malloc'ed string.
author | Luis Felipe Strano Moraes <luis.strano@gmail.com> |
---|---|
date | Thu, 22 Jan 2015 16:29:34 -0600 |
parents | e11684e3bbc5 |
children |
line wrap: on
line source
#include "toys.h" int xsocket(int domain, int type, int protocol) { int fd = socket(domain, type, protocol); if (fd < 0) perror_exit("socket %x %x", type, protocol); return fd; }