Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
masse committed Apr 5, 2005
1 parent c26af8d commit f572b85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/flrn_files.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,10 @@ void Copy_article (FILE *dest, Article_List *article, int copie_head,
#ifdef USE_CONTENT_ENCODING
if (fl_strncasecmp(newheader,
fl_static("content-transfer-encoding:"),26)==0) {
isinQP = (fl_strstr(newheader+26,"uoted")!=NULL);
flrn_char *lect = newheader+26;
while ((*lect) && (fl_isspace(*lect))) lect++;
isinQP = (fl_strncasecmp(lect,
fl_static("quoted-printable"),16)==0);
}
#endif
if (encoding%2==1)
Expand Down
5 changes: 4 additions & 1 deletion src/tty_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -2316,7 +2316,10 @@ int Aff_article_courant(int to_build) {
#ifdef USE_CONTENT_ENCODING
if (fl_strncasecmp(tmp->header_head,
fl_static("content-transfer-encoding:"),26)==0) {
isinQP = (fl_strstr(tmp->header_body,"uoted")!=NULL);
flrn_char *lect = tmp->header_body;
while ((*lect) && (fl_isspace(*lect))) lect++;
isinQP = (fl_strncasecmp(lect,
fl_static("quoted-printable"),16)==0);
}
#endif
if (fl_strncasecmp(tmp->header_head,
Expand Down

0 comments on commit f572b85

Please sign in to comment.