Commit a20a0b4b authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

Remove fixed stack size from logging code.

parent a0273969
/*
Copyright Jeroen Vreeken (pe1rxq@amsat.org), 2008, 2013, 2014
Copyright Jeroen Vreeken (jeroen@vreeken.net), 2008, 2013, 2014, 2015
Copyright Stichting C.A. Muller Radioastronomiestation, 2008, 2013
This program is free software: you can redistribute it and/or modify
......@@ -358,10 +358,6 @@ int log_server_start(int port, enum log_type console_level,
printf("Starting log server on port %d\n", port);
pthread_attr_init(&attr);
/* PTHREAD_STACK_MIN * 2 seems to be the minimum on some old FreeBSD
releases
*/
pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN * 2 + 65536);
pthread_create(&thread_id, &attr, log_server, NULL);
......
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