X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/a320e3007ae90a67742bcb4eafda9ef8e539f04b..d935f68b3915cbf8ce604b7ead06210ce7d933e0:/fwd.h?ds=sidebyside diff --git a/fwd.h b/fwd.h index ba06144..a900e31 100644 --- a/fwd.h +++ b/fwd.h @@ -271,9 +271,13 @@ extern sel_state *sel; extern const char grammar_text[]; extern const char option_text[]; +/* --- Generally useful magic constants --- */ + +#define NOW ((time_t)-1) + /* --- @fw_log@ --- * * - * Arguments: @time_t t@ = when the connection occurred or (@-1@) + * Arguments: @time_t t@ = when the connection occurred or (@NOW@) * @const char *fmt@ = format string to fill in * @...@ = other arguments *