diff options
author | Omar Polo <op@omarpolo.com> | 2021-05-15 11:11:56 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-05-15 11:11:56 +0000 |
commit | ce2c9edbc230a052627540e3fd0f8a8b190be850 (patch) | |
tree | 420854b35738fe3c392a59b27d23ceb94ccfd10d /fcgi.c | |
parent | d1051bfaa091850cc98f54b07577f2f721890acd (diff) |
define and use GMID_VERSION
Diffstat (limited to 'fcgi.c')
-rw-r--r-- | fcgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |