diff options
author | Stefan Bühler <stbuehler@web.de> | 2009-04-10 17:35:19 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2009-04-10 17:35:19 +0000 |
commit | 638ee6cad9faee1f3f08b8f98d303e6f21512183 (patch) | |
tree | 6a657121527ccd8b03c30b9c63522fe346edde8d /src/mod_fastcgi.c | |
parent | 1527160c69fcc4f15af0ce8a7bb447513be4d1ec (diff) | |
download | lighttpd-git-638ee6cad9faee1f3f08b8f98d303e6f21512183.tar.gz |
Add revision number to package version for svn/git checkouts
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2467 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_fastcgi.c')
-rw-r--r-- | src/mod_fastcgi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mod_fastcgi.c b/src/mod_fastcgi.c index 2616e19d..21f0453f 100644 --- a/src/mod_fastcgi.c +++ b/src/mod_fastcgi.c @@ -49,6 +49,8 @@ #include <sys/wait.h> #endif +#include "version.h" + #define FCGI_ENV_ADD_CHECK(ret, con) \ if (ret == -1) { \ con->http_status = 400; \ @@ -1882,7 +1884,7 @@ static int fcgi_create_env(server *srv, handler_ctx *hctx, size_t request_id) { buffer_prepare_copy(p->fcgi_env, 1024); - FCGI_ENV_ADD_CHECK(fcgi_env_add(p->fcgi_env, CONST_STR_LEN("SERVER_SOFTWARE"), CONST_STR_LEN(PACKAGE_NAME"/"PACKAGE_VERSION)),con) + FCGI_ENV_ADD_CHECK(fcgi_env_add(p->fcgi_env, CONST_STR_LEN("SERVER_SOFTWARE"), CONST_STR_LEN(PACKAGE_DESC)),con) if (con->server_name->used) { size_t len = con->server_name->used - 1; |