From ceb4156db8546c98875607dd91a799101b02c22f Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 1 Jul 2004 00:09:10 -0400 Subject: snapshot of project "lynx", label v2-8-6dev_5 --- src/LYShowInfo.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/LYShowInfo.c') diff --git a/src/LYShowInfo.c b/src/LYShowInfo.c index 63bf70dd..4686dc7a 100644 --- a/src/LYShowInfo.c +++ b/src/LYShowInfo.c @@ -60,7 +60,8 @@ char *LYVersionDate(void) * LYShowInfo prints a page of info about the current file and the link that * the cursor is on. */ -int LYShowInfo(DocInfo *doc, int size_of_file, +int LYShowInfo(DocInfo *doc, + int size_of_file, DocInfo *newdoc, char *owner_address) { @@ -424,6 +425,13 @@ int LYShowInfo(DocInfo *doc, int size_of_file, } else fprintf(fp0, "

%s

", gettext("No Links on the current page")); +#ifdef EXP_HTTP_HEADERS + if ((cp = HText_getHttpHeaders()) != 0) { + fprintf(fp0, "

%s

", gettext("Server Headers:")); + fprintf(fp0, "
%s
", cp); + } +#endif + #ifdef DIRED_SUPPORT } #endif /* DIRED_SUPPORT */ -- cgit 1.4.1-2-gfad0