]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2734] Code cleanup
authorMarcin Siodelski <marcin@isc.org>
Mon, 6 Feb 2023 13:58:56 +0000 (14:58 +0100)
committerMarcin Siodelski <marcin@isc.org>
Thu, 9 Feb 2023 17:32:03 +0000 (18:32 +0100)
Edits in the log message definition and the whitespace removal.

src/lib/database/db_messages.mes
src/lib/pgsql/pgsql_connection.cc

index 464afe568cae24ad1c4a74c9751bd81b91332cba..acec88cd948169b237fcb87b0aeab308284b7471 100644 (file)
@@ -83,8 +83,8 @@ any of these INSERT statements fail.
 % DATABASE_PGSQL_TCP_USER_TIMEOUT_UNSUPPORTED tcp_user_timeout is not supported in this PostgreSQL version
 This warning message is issued when a user has configured the tcp_user_timeout
 parameter in the connection to the PostgreSQL database but the installed database
-does not support this parameter. This parameter is supported by the PostgreSQL
-version 12 or later. The parameter setting will be ignored.
+does not support this parameter. It is supported by the PostgreSQL version 12 or later.
+The parameter setting will be ignored.
 
 % DATABASE_TO_JSON_BOOLEAN_ERROR Internal logic error: invalid boolean value found in database connection parameters: %1=%2
 This error message is printed when conversion to JSON of the internal state is requested,
index b0f309f3f3ef69e9866183eb35d17122ac4dae0a..753ee0a4be2faa149d3b9392e3942144bcc7da3a 100644 (file)
@@ -300,8 +300,6 @@ PgSqlConnection::openDatabaseInternal(bool logging) {
     conn_.setConnection(new_conn);
 }
 
-
-
 bool
 PgSqlConnection::compareError(const PgSqlResult& r, const char* error_state) {
     const char* sqlstate = PQresultErrorField(r, PG_DIAG_SQLSTATE);