{
int s;
- signal(SIGCLD, SIG_IGN);
+ signal(SIGCHLD, SIG_IGN);
/* open an incoming socket */
s = open_socket_in(SOCK_STREAM, port);
void set_socket_options(int fd, char *options)
{
char *tok;
+ if (!options || !*options) return;
+
options = strdup(options);
if (!options) out_of_memory("set_socket_options");