diff options
| author | John Keeping <john@keeping.me.uk> | 2015-08-14 12:47:17 +0100 |
|---|---|---|
| committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-08-14 15:46:51 +0200 |
| commit | 892c5441f4af2f53a3b1906c4d7e458829e0cf0a (patch) | |
| tree | 5db7624970e2663ccb61cb14c4bbc6cb03024272 | |
| parent | refs: move layout to page function (diff) | |
| download | cgit-magenta-892c5441f4af2f53a3b1906c4d7e458829e0cf0a.tar.xz | |
stats: move layout into page function
This also allows us to return proper HTTP error codes for invalid requests. Signed-off-by: John Keeping <john@keeping.me.uk>
| -rw-r--r-- | cmd.c | 2 | ||||
| -rw-r--r-- | ui-stats.c | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cmd.c b/cmd.c |
