Mercurial > urweb
comparison src/c/urweb.c @ 1919:f5d1037effc9
Remove extra line break for onError
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 01 Dec 2013 16:28:02 -0500 |
parents | 52e88e139b25 |
children | 2f33d9a51765 |
comparison
equal
deleted
inserted
replaced
1918:c3c84fd38815 | 1919:f5d1037effc9 |
---|---|
4090 if (on_success[0]) | 4090 if (on_success[0]) |
4091 uw_write_header(ctx, "HTTP/1.1 "); | 4091 uw_write_header(ctx, "HTTP/1.1 "); |
4092 else | 4092 else |
4093 uw_write_header(ctx, "Status: "); | 4093 uw_write_header(ctx, "Status: "); |
4094 uw_write_header(ctx, "500 Internal Server Error\r\n"); | 4094 uw_write_header(ctx, "500 Internal Server Error\r\n"); |
4095 uw_write_header(ctx, "Content-type: text/html\r\n\r\n"); | 4095 uw_write_header(ctx, "Content-type: text/html\r\n"); |
4096 uw_write(ctx, begin_xhtml); | 4096 uw_write(ctx, begin_xhtml); |
4097 ctx->app->on_error(ctx, msg); | 4097 ctx->app->on_error(ctx, msg); |
4098 uw_write(ctx, "</html>"); | 4098 uw_write(ctx, "</html>"); |
4099 } | 4099 } |
4100 | 4100 |