comparison src/c/urweb.c @ 698:9b29ce0babb8

RoundTrip demo
author Adam Chlipala <adamc@hcoop.net>
date Sun, 05 Apr 2009 11:24:55 -0400
parents 79a49c509007
children db6ab16cd8f3
comparison
equal deleted inserted replaced
697:755a71c99be5 698:9b29ce0babb8
320 ctx->headers = ctx->headers_end = NULL; 320 ctx->headers = ctx->headers_end = NULL;
321 321
322 buf_init(&ctx->outHeaders, 0); 322 buf_init(&ctx->outHeaders, 0);
323 buf_init(&ctx->page, 0); 323 buf_init(&ctx->page, 0);
324 buf_init(&ctx->heap, 0); 324 buf_init(&ctx->heap, 0);
325 buf_init(&ctx->script, 0); 325 buf_init(&ctx->script, 1);
326 ctx->script.start[0] = 0; 326 ctx->script.start[0] = 0;
327 327
328 ctx->inputs = calloc(uw_inputs_len, sizeof(char *)); 328 ctx->inputs = calloc(uw_inputs_len, sizeof(char *));
329 329
330 ctx->db = NULL; 330 ctx->db = NULL;