diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2007-07-24 22:50:21 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2007-07-24 22:50:21 -0400 |
commit | fc2f1c2d4c0aa08b055c73bd379d6975181eb0f6 (patch) | |
tree | 370f851d184ec92f644163022ba76cd172917297 /WWW/Library/Implementation/HTNews.c | |
parent | 387b9cbf38dddc3adbb811e03345576e35df3725 (diff) | |
download | lynx-snapshots-fc2f1c2d4c0aa08b055c73bd379d6975181eb0f6.tar.gz |
snapshot of project "lynx", label v2-8-7dev_5c
Diffstat (limited to 'WWW/Library/Implementation/HTNews.c')
-rw-r--r-- | WWW/Library/Implementation/HTNews.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTNews.c b/WWW/Library/Implementation/HTNews.c index 611d7f1e..bc16318d 100644 --- a/WWW/Library/Implementation/HTNews.c +++ b/WWW/Library/Implementation/HTNews.c @@ -1,4 +1,7 @@ -/* NEWS ACCESS HTNews.c +/* + * $LynxId: HTNews.c,v 1.57 2007/07/03 00:13:21 tom Exp $ + * + * NEWS ACCESS HTNews.c * =========== * * History: @@ -1003,12 +1006,14 @@ void debug_print(unsigned char *p) static char *decode_mime(char **str) { + static char empty[] = ""; + #ifdef SH_EX if (HTCJK != JAPANESE) return *str; #endif HTmmdecode(str, *str); - return HTrjis(str, *str) ? *str : ""; + return HTrjis(str, *str) ? *str : empty; } /* Read in an Article read_article |