summaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 58e2e058..1b882a08 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -504,7 +504,7 @@ MHD_start_daemon(unsigned int options,
(0 != pthread_create(&retVal->pid,
NULL,
&MHD_select_thread,
- daemon)) ) {
+ retVal)) ) {
MHD_DLOG(retVal,
"Failed to create listen thread: %s\n",
strerror(errno));