Skip to content
Snippets Groups Projects
Commit 18ee7c92 authored by rswindell's avatar rswindell
Browse files

Use the new newsutil.js function: decode_news_body() to reverse the

transfer-encoding (e.g. quoted-printed, base64).
parent a0583bb4
No related branches found
No related tags found
No related merge requests found
......@@ -785,6 +785,8 @@ for(i in area) {
}
}
body=decode_news_body(hdr, body);
if(truncsp(body).length==0) {
printf("Message %lu not imported (blank)\r\n",ptr);
continue;
......
......@@ -748,6 +748,8 @@ while(client.socket.is_connected && !quit) {
for(h in hfields)
parse_news_header(hdr,hfields[h]); // from newsutil.js
body=decode_news_body(hdr, body);
var newsgroups=hdr.newsgroups.split(',');
if(hdr.to==undefined && hdr.reply_id!=undefined)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment