commit c801fde: [Minor] Slightly reduce label size

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Aug 23 17:35:05 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-08-23 18:30:35 +0100
URL: https://github.com/rspamd/rspamd/commit/c801fdefc50255b6ab3c5fdb38376846eb0fa6f0 (HEAD -> master)

[Minor] Slightly reduce label size

---
 src/libserver/monitored.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index 05e5efcc7..690acfe7d 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -203,7 +203,7 @@ static void
 rspamd_monitored_dns_random (struct rspamd_monitored *m,
 							 struct rspamd_dns_monitored_conf *conf)
 {
-	gchar random_prefix[64];
+	gchar random_prefix[32];
 	const gchar dns_chars[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_";
 	gint len;
 


More information about the Commits mailing list