mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Remove excess parens in ereport() calls
Cosmetic cleanup, not worth backpatching. Discussion: https://postgr.es/m/20200129200401.GA6303@alvherre.pgsql Reviewed-by: Tom Lane, Michael Paquier
This commit is contained in:
@@ -999,7 +999,7 @@ initialize_dh(SSL_CTX *context, bool isServerStart)
|
||||
{
|
||||
ereport(isServerStart ? FATAL : LOG,
|
||||
(errcode(ERRCODE_CONFIG_FILE_ERROR),
|
||||
(errmsg("DH: could not load DH parameters"))));
|
||||
errmsg("DH: could not load DH parameters")));
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1007,8 +1007,8 @@ initialize_dh(SSL_CTX *context, bool isServerStart)
|
||||
{
|
||||
ereport(isServerStart ? FATAL : LOG,
|
||||
(errcode(ERRCODE_CONFIG_FILE_ERROR),
|
||||
(errmsg("DH: could not set DH parameters: %s",
|
||||
SSLerrmessage(ERR_get_error())))));
|
||||
errmsg("DH: could not set DH parameters: %s",
|
||||
SSLerrmessage(ERR_get_error()))));
|
||||
DH_free(dh);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user