aboutsummaryrefslogtreecommitdiffstats
path: root/parsetag.c
diff options
context:
space:
mode:
authorAkinori Ito <aito@eie.yz.yamagata-u.ac.jp>2001-11-09 04:59:17 +0000
committerAkinori Ito <aito@eie.yz.yamagata-u.ac.jp>2001-11-09 04:59:17 +0000
commit6c63633545c254dc085402e0f927a6826d1dd229 (patch)
tree0126fb5598304c713ea1276e294da9098b5df3b4 /parsetag.c
parentInitial revision (diff)
downloadw3m-6c63633545c254dc085402e0f927a6826d1dd229.tar.gz
w3m-6c63633545c254dc085402e0f927a6826d1dd229.zip
Updates from 0.2.1 into 0.2.1-inu-1.5release-0-2-1-inu-1-5
Diffstat (limited to 'parsetag.c')
-rw-r--r--parsetag.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/parsetag.c b/parsetag.c
index 9cafd95..f5f188c 100644
--- a/parsetag.c
+++ b/parsetag.c
@@ -1,3 +1,6 @@
+#ifdef __EMX__
+#include <strings.h> /* for bzero() */
+#endif /* __EMX__ */
#include "myctype.h"
#include "indep.h"
#include "Str.h"
@@ -38,7 +41,7 @@ cgistr2tagarg(char *cgistr)
tag = Strnew();
while (*cgistr && *cgistr != '=' && *cgistr != '&')
Strcat_char(tag, *cgistr++);
- t->arg = form_unquote(tag)->ptr;
+ t->arg = Str_form_unquote(tag)->ptr;
t->value = NULL;
if (*cgistr == '\0')
return t;
@@ -47,7 +50,7 @@ cgistr2tagarg(char *cgistr)
value = Strnew();
while (*cgistr && *cgistr != '&')
Strcat_char(value, *cgistr++);
- t->value = form_unquote(value)->ptr;
+ t->value = Str_form_unquote(value)->ptr;
}
else if (*cgistr == '&')
cgistr++;