aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-04 22:03:16 +0200
committerMattias Andrée <maandree@kth.se>2016-08-04 22:03:21 +0200
commitc3bd527b6207ea4e9dce76faf327584788b366be (patch)
tree208ee4048f020d39506f859216dbb1aaf7acc4aa /src
parentFix bug (diff)
downloadcoopgammad-c3bd527b6207ea4e9dce76faf327584788b366be.tar.gz
coopgammad-c3bd527b6207ea4e9dce76faf327584788b366be.tar.bz2
coopgammad-c3bd527b6207ea4e9dce76faf327584788b366be.tar.xz
Fix bug: length header should be "ignored" silently
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/servers/master.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/servers/master.c b/src/servers/master.c
index be21b95..094d853 100644
--- a/src/servers/master.c
+++ b/src/servers/master.c
@@ -78,6 +78,7 @@ static int dispatch_message(size_t conn, struct message* restrict msg)
else if (strstr(header, "Class: ") == header) class = value;
else if (strstr(header, "Lifespan: ") == header) lifespan = value;
else if (strstr(header, "Message ID: ") == header) message_id = value;
+ else if (strstr(header, "Length: ") == header) ;/* Handled transparently */
else
fprintf(stderr, "%s: ignoring unrecognised header: %s\n", argv0, header);
}