diff --git a/tpws/resolver.c b/tpws/resolver.c index f7f2049..4b1e0d3 100644 --- a/tpws/resolver.c +++ b/tpws/resolver.c @@ -181,12 +181,12 @@ bool resolver_init(int threads, int fd_signal_pipe) pthread_attr_t attr; - if (pthread_attr_init(&attr)) goto ex1; + if (pthread_attr_init(&attr)) goto ex2; // set minimum thread stack size if (pthread_attr_setstacksize(&attr,20480)) { pthread_attr_destroy(&attr); - goto ex1; + goto ex2; } for(t=0, resolver.threads=threads ; t