aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c/urweb.c
diff options
context:
space:
mode:
authorGravatar Ziv Scully <ziv@mit.edu>2014-05-31 03:08:16 -0400
committerGravatar Ziv Scully <ziv@mit.edu>2014-05-31 03:08:16 -0400
commit171e5ecea687a43033e92c98c0661cc161d50e4a (patch)
tree84fb602a1abddb351063d16cd44c147b0053aecc /src/c/urweb.c
parent77fa8d45d3bcc722b25e93a8c24081c74f3f4709 (diff)
Cleans up interface (it's now a command line option) and renames project to "sqlcache" in the all-one-word style. Still has issues to do with concurrency, retrying transactions, and foreign function calls that either rely on state or have side effects.
Diffstat (limited to 'src/c/urweb.c')
-rw-r--r--src/c/urweb.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index 10bbf930..57762da8 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -1667,16 +1667,11 @@ void uw_write(uw_context ctx, const char* s) {
}
void uw_recordingStart(uw_context ctx) {
- // TODO: remove following debug statement.
- uw_write(ctx, "<!--Recording started here-->");
ctx->recording = ctx->page.front;
}
char *uw_recordingRead(uw_context ctx) {
- char *recording = strdup(ctx->recording);
- // TODO: remove following debug statement.
- uw_write(ctx, "<!--Recording read here-->");
- return recording;
+ return strdup(ctx->recording);
}
char *uw_Basis_attrifyInt(uw_context ctx, uw_Basis_int n) {