diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-11-21 15:48:08 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-11-21 15:48:08 -0500 |
commit | ba9cbd82cbd87250308519ae0d9570959d53d75b (patch) | |
tree | 0f386fe5fb67b87bd1cd61241a489c492b9e0423 /src/c | |
parent | d967a12fd83892bb8bfb663dec6b989643ca21c2 (diff) |
Get message-passing working in IE6
Diffstat (limited to 'src/c')
-rw-r--r-- | src/c/urweb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c index 72f78a33..e75d0c66 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -672,6 +672,8 @@ static input *check_input_space(uw_context ctx, size_t len) { } int uw_set_input(uw_context ctx, const char *name, char *value) { + printf("Input name %s\n", name); + if (!strcasecmp(name, ".b")) { int n = uw_input_num(value); input *inps; @@ -760,6 +762,8 @@ int uw_set_input(uw_context ctx, const char *name, char *value) { int n = uw_input_num(name); if (n < 0) { + if (!strcmp(name, "null")) + return 0; uw_set_error(ctx, "Bad input name %s", name); return -1; } |