aboutsummaryrefslogtreecommitdiff
path: root/fcgi.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-05-15 11:11:56 +0000
committerOmar Polo <op@omarpolo.com>2021-05-15 11:11:56 +0000
commitce2c9edbc230a052627540e3fd0f8a8b190be850 (patch)
tree420854b35738fe3c392a59b27d23ceb94ccfd10d /fcgi.c
parentd1051bfaa091850cc98f54b07577f2f721890acd (diff)
define and use GMID_VERSION
Diffstat (limited to 'fcgi.c')
-rw-r--r--fcgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fcgi.c b/fcgi.c
index ddb4af6..8a566b3 100644
--- a/fcgi.c
+++ b/fcgi.c
@@ -477,7 +477,7 @@ send_fcgi_req(struct fcgi *f, struct client *c)
fcgi_send_param(f->fd, c->id, "REQUEST_METHOD", "");
fcgi_send_param(f->fd, c->id, "SERVER_NAME", c->iri.host);
fcgi_send_param(f->fd, c->id, "SERVER_PROTOCOL", "GEMINI");
- fcgi_send_param(f->fd, c->id, "SERVER_SOFTWARE", "gmid/1.7");
+ fcgi_send_param(f->fd, c->id, "SERVER_SOFTWARE", GMID_VERSION);
if (fcgi_end_param(f->fd, c->id) == -1)
close_all(f);