MINOR: errors: specify prefix "config" for parsing output
Set "config :" as a prefix for the user messages context before starting
the configuration parsing. All following stderr output will be prefixed
by it.
As a consequence, remove extraneous prefix "config" already specified in
various ha_alert/warning/notice calls.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c
index 27a4c35..993772f 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -4707,7 +4707,7 @@
if (methodVersions[i].option && !(flags & methodVersions[i].flag)) {
if (min) {
if (hole) {
- ha_warning("config : %s '%s': SSL/TLS versions range not contiguous for server '%s'. "
+ ha_warning("%s '%s': SSL/TLS versions range not contiguous for server '%s'. "
"Hole find for %s. Use only 'ssl-min-ver' and 'ssl-max-ver' to fix.\n",
proxy_type_str(curproxy), curproxy->id, srv->id,
methodVersions[hole].name);
@@ -4724,7 +4724,7 @@
hole = i;
}
if (!min) {
- ha_alert("config : %s '%s': all SSL/TLS versions are disabled for server '%s'.\n",
+ ha_alert("%s '%s': all SSL/TLS versions are disabled for server '%s'.\n",
proxy_type_str(curproxy), curproxy->id, srv->id);
cfgerr += 1;
}