aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-vt.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-24 20:13:05 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-24 20:13:07 +0200
commitbdbf0844d8027289a48f12f6fd068413b7cc4884 (patch)
tree9aa61cd02796bd3e8bc01850d5f803a9d7bea2d0 /src/mds-vt.c
parentmds-kkbd: decipher mapping_query and fix a minor bug in it (diff)
downloadmds-bdbf0844d8027289a48f12f6fd068413b7cc4884.tar.gz
mds-bdbf0844d8027289a48f12f6fd068413b7cc4884.tar.bz2
mds-bdbf0844d8027289a48f12f6fd068413b7cc4884.tar.xz
introduce the `Origin command`-header
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-vt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mds-vt.c b/src/mds-vt.c
index f277308..e82c32e 100644
--- a/src/mds-vt.c
+++ b/src/mds-vt.c
@@ -611,7 +611,7 @@ int handle_message(void)
*/
int handle_get_vt(const char* client, const char* message)
{
- char buf[57 + 44 + 3 * sizeof(int)];
+ char buf[81 + 44 + 3 * sizeof(int)];
int active = vt_get_active();
int r;
@@ -619,6 +619,7 @@ int handle_get_vt(const char* client, const char* message)
"To: %s\n"
"In response to: %s\n"
"Message ID: %" PRIu32 "\n"
+ "Origin command: get-vt\n"
"VT index: %i\n"
"Active: %s\n"
"\n",