From: Eric Bollengier Date: Wed, 11 Nov 2009 13:44:26 +0000 (+0100) Subject: small cleanup X-Git-Tag: Release-5.0.0~266 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=146559de638eda9be5295536f971a61e4f275eaa;p=bacula%2Fbacula small cleanup --- diff --git a/bacula/src/cats/sql.c b/bacula/src/cats/sql.c index 5426c371de..8421962315 100644 --- a/bacula/src/cats/sql.c +++ b/bacula/src/cats/sql.c @@ -190,13 +190,15 @@ bool db_check_max_connections(JCR *jcr, B_DB *mdb, uint32_t max_concurrent_jobs) #endif /* Check max_connections setting */ - if (!db_sql_query(mdb, sql_get_max_connections[db_type], db_max_connections_handler, &max_conn)) { + if (!db_sql_query(mdb, sql_get_max_connections[db_type], + db_max_connections_handler, &max_conn)) { Jmsg(jcr, M_ERROR, 0, "Can't verify max_connections settings %s", mdb->errmsg); return ret; } if (max_conn && max_concurrent_jobs && max_concurrent_jobs > max_conn) { Mmsg(mdb->errmsg, - _("On db_name=%s, %s max_connections=%d is lower than Director MaxConcurentJobs=%d\n"), + _("On db_name=%s, %s max_connections=%d is lower than Director " + "MaxConcurentJobs=%d\n"), mdb->db_name, db_get_type(), max_conn, max_concurrent_jobs); Jmsg(jcr, M_WARNING, 0, "%s", mdb->errmsg); ret = false;