mirror of
https://github.com/postgres/postgres.git
synced 2025-08-15 14:02:29 +03:00
Fix PQconninfoParse error message handling
The returned error message already includes a newline, but the callers were adding their own when printing it out.
This commit is contained in:
@@ -33,7 +33,7 @@ main(int argc, char *argv[])
|
||||
opts = PQconninfoParse(argv[1], &errmsg);
|
||||
if (opts == NULL)
|
||||
{
|
||||
fprintf(stderr, "uri-regress: %s\n", errmsg);
|
||||
fprintf(stderr, "uri-regress: %s", errmsg);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user