summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/urweb.h2
-rw-r--r--src/c/urweb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/urweb.h b/include/urweb.h
index 4d176561..80d2b255 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -164,7 +164,7 @@ uw_unit uw_Basis_set_cookie(uw_context, uw_Basis_string prefix, uw_Basis_string
uw_Basis_channel uw_Basis_new_channel(uw_context, uw_unit);
uw_unit uw_Basis_send(uw_context, uw_Basis_channel, uw_Basis_string);
-uw_Basis_client uw_Basis_self(uw_context, uw_unit);
+uw_Basis_client uw_Basis_self(uw_context);
uw_Basis_string uw_Basis_bless(uw_context, uw_Basis_string);
uw_Basis_string uw_Basis_blessMime(uw_context, uw_Basis_string);
diff --git a/src/c/urweb.c b/src/c/urweb.c
index 038f2549..75d42a6c 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -575,7 +575,7 @@ failure_kind uw_begin(uw_context ctx, char *path) {
return r;
}
-uw_Basis_client uw_Basis_self(uw_context ctx, uw_unit u) {
+uw_Basis_client uw_Basis_self(uw_context ctx) {
if (ctx->client == NULL)
uw_error(ctx, FATAL, "Call to Basis.self() from page that has only server-side code");