summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-09-08 23:53:28 +0200
committerLennart Poettering <lennart@poettering.net>2009-09-08 23:53:28 +0200
commit31d1d9088e18b9d59a259230e0e49e6a5908586a (patch)
treece380c03c10700abac594c8d846bce31a8db3a12 /src/pulsecore
parent31ae7deefa72288b0c250b3ddc68c39e8eb840eb (diff)
protocol-native: log explicitly when someone asks us to quit
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/protocol-native.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index 0215c233..17aee4b1 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -2273,6 +2273,8 @@ static void command_exit(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_ta
ret = pa_core_exit(c->protocol->core, FALSE, 0);
CHECK_VALIDITY(c->pstream, ret >= 0, tag, PA_ERR_ACCESS);
+ pa_log_debug("Client %s asks us to terminate.", pa_strnull(pa_proplist_gets(c->client->proplist, PA_PROP_APPLICATION_PROCESS_BINARY)));
+
pa_pstream_send_simple_ack(c->pstream, tag); /* nonsense */
}