diff options
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/HttpdOutputPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/HttpdOutputPlugin.cxx b/src/output/HttpdOutputPlugin.cxx index 369c06937..1d80011dd 100644 --- a/src/output/HttpdOutputPlugin.cxx +++ b/src/output/HttpdOutputPlugin.cxx @@ -201,7 +201,8 @@ HttpdOutput::OnAccept(int fd, const sockaddr &address, if (address.sa_family != AF_UNIX) { char *hostaddr = sockaddr_to_string(&address, address_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); |