Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fmt #522

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sources/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1032,8 +1032,8 @@ int od_auth_backend(od_server_t *server, machine_msg_t *msg,
return -1;
}

od_debug(&instance->logger, "auth", NULL, server,
"recieved msg type %u", auth_type);
od_debug(&instance->logger, "auth", NULL, server,
"recieved msg type %u", auth_type);

msg = NULL;

Expand Down
5 changes: 2 additions & 3 deletions sources/backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,9 @@ static inline int od_backend_startup(od_server_t *server,
{ NULL, 0 }
};


od_debug(&instance->logger, "startup", NULL, server,
"startup server connection with user %s & database %s", route->id.user, route->id.database);

"startup server connection with user %s & database %s",
route->id.user, route->id.database);

for (size_t i = 0; i < route->rule->backend_startup_vars_sz; i++) {
argv[i << 1].name = route->rule->backend_startup_vars[i].name;
Expand Down
3 changes: 2 additions & 1 deletion sources/ldap.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ od_retcode_t od_ldap_server_prepare(od_logger_t *logger, od_ldap_server_t *serv,
&search_message);

od_debug(logger, "auth_ldap", client, NULL,
"basedn search entries with filter: %s and attrib %s ", filter, attributes[0]);
"basedn search entries with filter: %s and attrib %s ",
filter, attributes[0]);

if (rc != LDAP_SUCCESS) {
od_error(logger, "auth_ldap", client, NULL,
Expand Down
4 changes: 2 additions & 2 deletions sources/router.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,9 @@ od_router_status_t od_router_route(od_router_t *router, od_client_t *client)
"matching rule: %s %s with %s routing type to %s client",
rule->db_name, rule->user_name,
rule->pool->routing_type == NULL ? "client visible" :
rule->pool->routing_type,
rule->pool->routing_type,
client->type == OD_POOL_CLIENT_INTERNAL ? "internal" :
"external");
"external");
if (!od_rule_matches_client(rule->pool, client->type)) {
// emulate not found error
od_router_unlock(router);
Expand Down
Loading