aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.hgignore2
-rw-r--r--src/c/urweb.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/.hgignore b/.hgignore
index 9a411ff9..4139717b 100644
--- a/.hgignore
+++ b/.hgignore
@@ -66,6 +66,8 @@ install-sh
ltmain.sh
missing
+tests/*.db
+
syntax: regexp
^Makefile$
diff --git a/src/c/urweb.c b/src/c/urweb.c
index 1799d01e..43c73661 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -1043,12 +1043,12 @@ int uw_set_file_input(uw_context ctx, const char *name, uw_Basis_file f) {
int n = ctx->app->input_num(name);
if (n < 0) {
- uw_set_error(ctx, "Bad file input name %s", uw_Basis_htmlifyString(ctx, name));
+ uw_set_error(ctx, "Bad file input name");
return -1;
}
if (n >= ctx->app->inputs_len) {
- uw_set_error(ctx, "For file input name %s, index %d is out of range", uw_Basis_htmlifyString(ctx, name), n);
+ uw_set_error(ctx, "For file input name, index %d is out of range", n);
return -1;
}