aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth-oauth-curl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/libpq/fe-auth-oauth-curl.c')
-rw-r--r--src/interfaces/libpq/fe-auth-oauth-curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-auth-oauth-curl.c b/src/interfaces/libpq/fe-auth-oauth-curl.c
index cd9c0323bb6..ddd87dcf02d 100644
--- a/src/interfaces/libpq/fe-auth-oauth-curl.c
+++ b/src/interfaces/libpq/fe-auth-oauth-curl.c
@@ -2859,7 +2859,7 @@ error_return:
}
}
- appendPQExpBufferStr(&conn->errorMessage, "\n");
+ appendPQExpBufferChar(&conn->errorMessage, '\n');
return PGRES_POLLING_FAILED;
}