diff src/c/driver.c @ 569:162d5308e34f

Successfully generated a page element from a signal
author Adam Chlipala <adamc@hcoop.net>
date Sat, 20 Dec 2008 16:19:26 -0500
parents 6daa59a55c43
children a93d5324f400
line wrap: on
line diff
--- a/src/c/driver.c	Sat Dec 20 15:46:48 2008 -0500
+++ b/src/c/driver.c	Sat Dec 20 16:19:26 2008 -0500
@@ -193,8 +193,6 @@
         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 @@
           }
 
           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;