]> diplodocus.org Git - nmh/commit
Fixed m_getfld() bug introduced in commit
authorDavid Levine <levinedl@acm.org>
Thu, 5 Dec 2013 02:30:04 +0000 (20:30 -0600)
committerDavid Levine <levinedl@acm.org>
Thu, 5 Dec 2013 02:30:04 +0000 (20:30 -0600)
commit86d3f54edebc4ed9f923b6b8ef175aebdc60989b
treef020788208707db11ebf2eb40b2e0774dc9a2005
parent7e40862e6a4da7810a46aa1e28b05e527fdc208a
Fixed m_getfld() bug introduced in commit
0c7ac5073c24f01663fadc78b5112c86d52e4452.  This bug caused parsing
of messages with long (>= 8K) header field values to fail.  The fix
was easy:  decrement the counter of bytes read when decrementing the
current read position, in FLDPLUS state.
sbr/m_getfld.c
test/mhlist/test-mhlist