From 443226a5ffcf805f6ab3ccbcc2a6b4802793b07d Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 19 Sep 1997 01:14:00 -0400 Subject: snapshot of project "lynx", label v2-7-1ac_0-69 --- src/GridText.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/GridText.c') diff --git a/src/GridText.c b/src/GridText.c index 301d2a18..77d23ac1 100644 --- a/src/GridText.c +++ b/src/GridText.c @@ -5018,8 +5018,8 @@ PUBLIC void www_user_search ARGS3( } PUBLIC void user_message ARGS2( - char *, message, - char *, argument) + CONST char *, message, + CONST char *, argument) { char *temp = NULL; char temp_arg[256]; @@ -5962,7 +5962,7 @@ PUBLIC int HText_beginInput ARGS3( TextAnchor * a = (TextAnchor *) calloc(1, sizeof(*a)); FormInfo * f = (FormInfo *) calloc(1, sizeof(*f)); - char *cp_option = NULL; + CONST char *cp_option = NULL; char *IValue = NULL; unsigned char *tmp = NULL; int i, j; @@ -6633,7 +6633,7 @@ PUBLIC void HText_SubmitForm ARGS4( StrAllocCat(escaped1, MultipartContentType); StrAllocCat(escaped1, "\r\n\r\n"); } else { - escaped1 = HTEscape(form_ptr->name,URL_XALPHAS); + escaped1 = HTEscapeSP(form_ptr->name,URL_XALPHAS); } /* @@ -6772,7 +6772,7 @@ PUBLIC void HText_SubmitForm ARGS4( StrAllocCat(escaped1, MultipartContentType); StrAllocCat(escaped1, "\r\n\r\n"); } else { - escaped1 = HTEscape(form_ptr->name, URL_XALPHAS); + escaped1 = HTEscapeSP(form_ptr->name, URL_XALPHAS); } /* * Be sure to use the submit option value. @@ -6900,7 +6900,7 @@ PUBLIC void HText_SubmitForm ARGS4( StrAllocCat(escaped1, MultipartContentType); StrAllocCat(escaped1, "\r\n\r\n"); } else { - escaped1 = HTEscape(form_ptr->name, URL_XALPHAS); + escaped1 = HTEscapeSP(form_ptr->name, URL_XALPHAS); } sprintf(&query[strlen(query)], "%s%s%s%s%s", @@ -6982,7 +6982,7 @@ PUBLIC void HText_SubmitForm ARGS4( StrAllocCat(escaped1, MultipartContentType); StrAllocCat(escaped1, "\r\n\r\n"); } else { - escaped1 = HTEscape(form_ptr->name, URL_XALPHAS); + escaped1 = HTEscapeSP(form_ptr->name, URL_XALPHAS); } /* -- cgit 1.4.1-2-gfad0