diff options
Diffstat (limited to '')
-rw-r--r-- | file.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.68 2002/02/07 14:16:00 ukai Exp $ */ +/* $Id: file.c,v 1.69 2002/02/08 11:18:10 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -3073,7 +3073,7 @@ process_input(struct parsed_tag *tag) { int i, w, v, x, y, z, iw, ih; char *q, *p, *r, *p2, *s; - Str tmp = Strnew(); + Str tmp = NULL; char *qq = ""; int qlen = 0; @@ -3081,6 +3081,8 @@ process_input(struct parsed_tag *tag) char *s = "<form_int method=internal action=none>"; tmp = process_form(parse_tag(&s, TRUE)); } + if (tmp == NULL) + tmp = Strnew(); p = "text"; parsedtag_get_value(tag, ATTR_TYPE, &p); |