diff options
author | Mattias Andrée <maandree@kth.se> | 2016-08-04 22:03:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-08-04 22:03:21 +0200 |
commit | c3bd527b6207ea4e9dce76faf327584788b366be (patch) | |
tree | 208ee4048f020d39506f859216dbb1aaf7acc4aa /src/servers | |
parent | Fix bug (diff) | |
download | coopgammad-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 'src/servers')
-rw-r--r-- | src/servers/master.c | 1 |
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); } |