Commit a941f21b authored by kostja@oak.local's avatar kostja@oak.local

debug checks removed

parent 75a3c99c
......@@ -45,11 +45,8 @@ void manager(const char *socket_file_name)
pthread_t listener_thd_id;
pthread_attr_t listener_thd_attr;
if (pthread_attr_init(&listener_thd_attr))
die("manager(): pthread_attr_init(listener) failed");
if (pthread_attr_setdetachstate(&listener_thd_attr,
PTHREAD_CREATE_DETACHED))
die("manager(): pthread_attr_setdetachstate(listener) failed");
pthread_attr_init(&listener_thd_attr);
pthread_attr_setdetachstate(&listener_thd_attr, PTHREAD_CREATE_DETACHED);
if (pthread_create(&listener_thd_id, &listener_thd_attr, listener,
&listener_args))
die("manager(): pthread_create(listener) failed");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment