diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -522,6 +522,7 @@ d_char *html_timeline(snac *snac, char *list, int local) | |||
| 522 | d_char *s = xs_str_new(NULL); | 522 | d_char *s = xs_str_new(NULL); |
| 523 | xs_set *seen = xs_set_new(4096); | 523 | xs_set *seen = xs_set_new(4096); |
| 524 | char *v; | 524 | char *v; |
| 525 | double t = ftime(); | ||
| 525 | 526 | ||
| 526 | s = html_user_header(snac, s, local); | 527 | s = html_user_header(snac, s, local); |
| 527 | 528 | ||
| @@ -540,6 +541,11 @@ d_char *html_timeline(snac *snac, char *list, int local) | |||
| 540 | 541 | ||
| 541 | s = html_user_footer(snac, s); | 542 | s = html_user_footer(snac, s); |
| 542 | 543 | ||
| 544 | { | ||
| 545 | xs *s1 = xs_fmt("<!-- %lf seconds -->\n", ftime() - t); | ||
| 546 | s = xs_str_cat(s, s1); | ||
| 547 | } | ||
| 548 | |||
| 543 | s = xs_str_cat(s, "</body>\n</html>\n"); | 549 | s = xs_str_cat(s, "</body>\n</html>\n"); |
| 544 | 550 | ||
| 545 | xs_set_free(seen); | 551 | xs_set_free(seen); |