Mercurial > urweb
diff src/c/urweb.c @ 1038:dcc6093e9575
Get message-passing working in IE6
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 21 Nov 2009 15:48:08 -0500 |
parents | be1aec7333a5 |
children | a8a825861397 |
line wrap: on
line diff
--- a/src/c/urweb.c Sat Nov 21 14:29:35 2009 -0500 +++ b/src/c/urweb.c Sat Nov 21 15:48:08 2009 -0500 @@ -672,6 +672,8 @@ } 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 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; }