]> diplodocus.org Git - nmh/commitdiff
make scan_content() work correctly with content containing NULs
authorPaul Fox <pgf@foxharp.boston.ma.us>
Wed, 7 May 2014 23:36:56 +0000 (19:36 -0400)
committerPaul Fox <pgf@foxharp.boston.ma.us>
Thu, 8 May 2014 16:54:04 +0000 (12:54 -0400)
switched from fgets to getline for unambiguous reads in the face of
NUL bytes.  added a checkfornuls flag, and use it to cause the correct
encoding when content-types of application or text contain NULs.


No differences found