diff options
author | default <nobody@localhost> | 2022-10-26 06:43:47 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-26 06:43:47 +0200 |
commit | 3acc70b2704f5244fe4ad96b65a3286c42d47f79 (patch) | |
tree | d81609d75ef4e9088acd2827d28b52f02d574ea6 /snac.c | |
parent | 22b89875aa7c5e7da27a43d31dc294049e5f79e5 (diff) |
Fixed a nasty macro expansion bug.
Diffstat (limited to 'snac.c')
-rw-r--r-- | snac.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -30,6 +30,13 @@ int srv_running = 0; int dbglevel = 0; +int valid_status(int status) +/* is this HTTP status valid? */ +{ + return status >= 200 && status <= 299; +} + + d_char *tid(int offset) /* returns a time-based Id */ { |