summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-03 15:33:26 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-03 15:33:26 +0100
commitd05786a493acf6f747a52b7287ee506400075d55 (patch)
treea2c951c83e92827dca055acfe9d65130f11e4663
parent14f637a270a347fa4937a37a37c3d3fe83c9f395 (diff)
downloadrspamd-d05786a493acf6f747a52b7287ee506400075d55.tar.gz
rspamd-d05786a493acf6f747a52b7287ee506400075d55.zip
[Minor] Print the real version of rspamd in Server header
-rw-r--r--src/libutil/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c
index d7f10d20f..931ed5ed8 100644
--- a/src/libutil/http.c
+++ b/src/libutil/http.c
@@ -1677,7 +1677,7 @@ rspamd_http_message_write_header (const gchar* mime_type, gboolean encrypted,
"Date: %s\r\n"
"Content-Length: %z\r\n"
"Content-Type: %s", /* NO \r\n at the end ! */
- msg->code, msg->status, "rspamd/1.3.0", datebuf,
+ msg->code, msg->status, "rspamd/" RVERSION, datebuf,
bodylen, mime_type);
enclen += meth_len;
/* External reply */
@@ -1699,7 +1699,7 @@ rspamd_http_message_write_header (const gchar* mime_type, gboolean encrypted,
"Date: %s\r\n"
"Content-Length: %z\r\n"
"Content-Type: %s\r\n",
- msg->code, msg->status, "rspamd/1.3.0", datebuf,
+ msg->code, msg->status, "rspamd/" RVERSION, datebuf,
bodylen, mime_type);
}
}