Skip to content

Commit

Permalink
Utabify
Browse files Browse the repository at this point in the history
  • Loading branch information
fluca1978 committed Feb 24, 2022
1 parent a3d5fd5 commit 882e013
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libpgagroal/configuration.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,15 +627,15 @@ pgagroal_read_configuration(void* shm, char* filename)
}

}
else if (!strcmp(key, "log_line_prefix"))
else if (!strcmp(key, "log_line_prefix"))
{
if (!strcmp(section, "pgagroal"))
{
max = strlen(value);
if (max > MISC_LENGTH - 1)
max = MISC_LENGTH - 1;
if (max > MISC_LENGTH - 1)
max = MISC_LENGTH - 1;

memcpy(config->log_line_prefix, value, max);
memcpy(config->log_line_prefix, value, max);
}
else
{
Expand Down

0 comments on commit 882e013

Please sign in to comment.