New changes to protocol format
commite833db016d0c424ae2cac09f65b97003dcf86dc7
authorJames Earl Spahlinger <james@nixeagle.org>
Thu, 12 Jun 2008 09:08:24 +0000 (12 05:08 -0400)
committerJames Earl Spahlinger <james@nixeagle.org>
Thu, 12 Jun 2008 09:08:24 +0000 (12 05:08 -0400)
treef1d11d9b81d9bd4fed141420928c764748a0de5b
parent51f76a65b30db69c28674f13ceda75e9cda1789e
New changes to protocol format

Format now requires a \031\r\n instead of \r\n at the end of lines.
The reason for this change is to correct a screwup in the initial
protocol layout. Before if the last argument had a \r\n (which is
valid) in the message text, mtalk would end up with corrupted messages.

Both the testcase and the implentation were updated.
daemon/mtalk_parser.cpp
tests/parser.cpp