summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xC.c b/xC.c
index fdf1325..b4b4784 100644
--- a/xC.c
+++ b/xC.c
@@ -15470,7 +15470,7 @@ client_message_buffer_name (const struct relay_command_message *m)
switch (m->data.command)
{
case RELAY_COMMAND_BUFFER_COMPLETE:
- return m->data.buffer_input.buffer_name.str;
+ return m->data.buffer_complete.buffer_name.str;
case RELAY_COMMAND_BUFFER_ACTIVATE:
return m->data.buffer_activate.buffer_name.str;
case RELAY_COMMAND_BUFFER_INPUT: