summaryrefslogtreecommitdiffstats
path: root/daemon/pipename.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:07:37 +0000
commitb485aab7e71c1625cfc27e0f92c9509f42378458 (patch)
treeae9abe108601079d1679194de237c9a435ae5b55 /daemon/pipename.c
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-b485aab7e71c1625cfc27e0f92c9509f42378458.tar.xz
netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.zip
Adding upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'daemon/pipename.c')
-rw-r--r--daemon/pipename.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/daemon/pipename.c b/daemon/pipename.c
deleted file mode 100644
index 70b6a25b4..000000000
--- a/daemon/pipename.c
+++ /dev/null
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-#include "pipename.h"
-
-#include <stdlib.h>
-
-const char *daemon_pipename(void) {
- const char *pipename = getenv("NETDATA_PIPENAME");
- if (pipename)
- return pipename;
-
-#ifdef _WIN32
- return "\\\\?\\pipe\\netdata-cli";
-#else
- return "/tmp/netdata-ipc";
-#endif
-}