aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-29 10:56:07 +0000
committerOmar Polo <op@omarpolo.com>2021-06-29 10:56:07 +0000
commitfdb43a4c0e347c20c0f13c3145165393c6c10883 (patch)
tree968fa705136bdaab5e8bc095db3a1df895da7092 /gmid.h
parent0233b0f6b9fcbbca701d245e82fbddca20862eeb (diff)
define GMID_STRING and reuse-it
GMID_VERSION follows the CGI/FastCGI style, i.e. project_name/version. Define GMID_STRING with a more "human" variant "project_name version", and reuse that in the --help and --version codepath.
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gmid.h b/gmid.h
index 731a4fd..34b210d 100644
--- a/gmid.h
+++ b/gmid.h
@@ -38,6 +38,7 @@
#include <openssl/x509.h>
+#define GMID_STRING "gmid 1.7"
#define GMID_VERSION "gmid/1.7"
#define GEMINI_URL_LEN (1024+3) /* URL max len + \r\n + \0 */