aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-echo.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-06-08 12:52:39 +0200
committerMattias Andrée <maandree@operamail.com>2014-06-08 12:52:45 +0200
commit195eb255e53c8327a743ef89c616c6532d364de2 (patch)
treecf23930ac84b900ce540436a8d67f9679f08a19a /src/mds-echo.c
parentmds-echo: include message id + do not require respawn status (diff)
downloadmds-195eb255e53c8327a743ef89c616c6532d364de2.tar.gz
mds-195eb255e53c8327a743ef89c616c6532d364de2.tar.bz2
mds-195eb255e53c8327a743ef89c616c6532d364de2.tar.xz
m + fix: include header value in interception conditions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-echo.c')
-rw-r--r--src/mds-echo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds-echo.c b/src/mds-echo.c
index 8d1fae0..c9087c5 100644
--- a/src/mds-echo.c
+++ b/src/mds-echo.c
@@ -97,12 +97,12 @@ int __attribute__((const)) preinitialise_server(void)
*/
int initialise_server(void)
{
- const char* message =
+ const char* const message =
"Command: intercept\n"
"Message ID: 0\n"
- "Length: 13\n"
+ "Length: 14\n"
"\n"
- "Command: echo";
+ "Command: echo\n";
if (full_send(message, strlen(message)))
return 1;