diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-12-20 16:19:26 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-12-20 16:19:26 -0500 |
commit | ec745f90fc97e10948dc32ec4f44aabf5c6908db (patch) | |
tree | 295a6cbc7787518188dbf6c5c2144c32154ab116 /src/c | |
parent | 80be553bea33f3d9cb19f399f64eed36017048a3 (diff) |
Successfully generated a page element from a signal
Diffstat (limited to 'src/c')
-rw-r--r-- | src/c/driver.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/c/driver.c b/src/c/driver.c index a25cd743..34e57a6d 100644 --- a/src/c/driver.c +++ b/src/c/driver.c @@ -193,8 +193,6 @@ static void *worker(void *data) { uw_set_headers(ctx, headers); while (1) { - uw_write(ctx, "<html>"); - if (uw_db_begin(ctx)) { printf("Error running SQL BEGIN\n"); if (retries_left) @@ -211,13 +209,10 @@ static void *worker(void *data) { } uw_write_header(ctx, "HTTP/1.1 200 OK\r\n"); - uw_write_header(ctx, "Content-type: text/html\r\n"); strcpy(path_copy, path); fk = uw_begin(ctx, path_copy); if (fk == SUCCESS) { - uw_write(ctx, "</html>"); - if (uw_db_commit(ctx)) { fk = FATAL; |