summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-05-14 18:13:09 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-05-14 18:13:09 -0400
commit79655b086c036d07806d0c345ffc9e6683891fe4 (patch)
tree87cfafea0f563a41839fe248cd4de81e8a8efed1 /include
parentc69e0c432107906261ab4c56cd88a8cfab3191fb (diff)
Fix nasty bugs with longjmp() looping for uw_set_input(); and bad variable indexes for nested JavaScript in jscomp
Diffstat (limited to 'include')
-rw-r--r--include/urweb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/urweb.h b/include/urweb.h
index 80d2b255..974d3c01 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -43,8 +43,8 @@ void uw_memstats(uw_context);
int uw_send(uw_context, int sock);
-void uw_set_input(uw_context, const char *name, char *value);
-void uw_set_file_input(uw_context, char *name, uw_Basis_file);
+int uw_set_input(uw_context, const char *name, char *value);
+int uw_set_file_input(uw_context, char *name, uw_Basis_file);
char *uw_get_input(uw_context, int name);
char *uw_get_optional_input(uw_context, int name);