From 5cf53de34fa410702ca59437cdf3f304366c3c55 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 10 Mar 2025 20:56:09 +0100 Subject: check_smtp: fix positional host logic --- plugins/check_smtp.d/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_smtp.d') diff --git a/plugins/check_smtp.d/config.h b/plugins/check_smtp.d/config.h index c8660445..0a6511ef 100644 --- a/plugins/check_smtp.d/config.h +++ b/plugins/check_smtp.d/config.h @@ -52,7 +52,7 @@ typedef struct { check_smtp_config check_smtp_config_init() { check_smtp_config tmp = { .server_port = SMTP_PORT, - .server_address = strdup("localhost"), + .server_address = NULL, .localhostname = NULL, .server_expect = SMTP_EXPECT, -- cgit v1.2.3-74-g34f1