aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ClientNew.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ClientNew.cxx b/src/ClientNew.cxx
index e84887072..c6df5a883 100644
--- a/src/ClientNew.cxx
+++ b/src/ClientNew.cxx
@@ -73,7 +73,9 @@ client_new(EventLoop &loop, Partition &partition,
if (sa->sa_family != AF_UNIX) {
char *hostaddr = sockaddr_to_string(sa, sa_length,
IgnoreError());
- const char *progname = g_get_prgname();
+
+ // TODO: shall we obtain the program name from argv[0]?
+ const char *progname = "mpd";
struct request_info req;
request_init(&req, RQ_FILE, fd, RQ_DAEMON, progname, 0);