Skip to content
Snippets Groups Projects
Commit 751b1156 authored by rswindell's avatar rswindell
Browse files

Fixed bug in last commit (for folded header field support):

"line 57: TypeError: hdr.field_list has no properties"
parent e0608c88
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ function write_news_header(hdr,writeln)
function parse_news_header(hdr, line)
{
/* Parse header lines */
if(line.charAt(0)==' ' || line.charAt(0)=='\t' && hdr.field_list) {
if((line.charAt(0)==' ' || line.charAt(0)=='\t') && hdr.field_list) {
/* "folded" header field */
hdr.field_list.push(
{ type: RFC822HEADER,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment