fix ge^W gemexp version string

This commit is contained in:
Omar Polo 2024-01-08 08:34:36 +00:00
parent 104a2059e6
commit ac46710a4b
2 changed files with 3 additions and 3 deletions

4
ge.c
View File

@ -249,7 +249,7 @@ static __dead void
usage(void)
{
fprintf(stderr,
"Version: " GE_STRING "\n"
"Version: " GEMEXP_STRING "\n"
"Usage: %s [-hRV] [-d certs-dir] [-H hostname] [-p port] [dir]\n",
getprogname());
exit(1);
@ -295,7 +295,7 @@ main(int argc, char **argv)
gen_eckey = 0;
break;
case 'V':
puts("Version: " GE_STRING);
puts("Version: " GEMEXP_STRING);
return 0;
default:
usage();

2
gmid.h
View File

@ -53,7 +53,7 @@
#include "iri.h"
#define VERSION_STR(n) n " " VERSION
#define GE_STRING VERSION_STR("ge")
#define GEMEXP_STRING VERSION_STR("gemexp")
#define GG_STRING VERSION_STR("gg")
#define GMID_STRING VERSION_STR("gmid")