summaryrefslogtreecommitdiffstats
path: root/src/fdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fdr.c')
-rw-r--r--src/fdr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fdr.c b/src/fdr.c
index f213e99..b2ea70a 100644
--- a/src/fdr.c
+++ b/src/fdr.c
@@ -480,7 +480,8 @@ static int fdr_handle_plist_cmd(fdr_client_t fdr)
}
free(command);
- return 1; /* should terminate thread */
+ /* FDR connection will be terminated remotely. Next receive will get nothing, error and terminate this worker thread. */
+ return 0;
}
static int fdr_handle_proxy_cmd(fdr_client_t fdr)