1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00

Make TLS write functions' buffer arguments pointers const

This also makes it match the equivalent APIs in libpq.

Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org
This commit is contained in:
Peter Eisentraut
2025-02-09 12:10:25 +01:00
parent 169208092f
commit a9258629ed
6 changed files with 7 additions and 7 deletions

View File

@@ -821,7 +821,7 @@ be_tls_read(Port *port, void *ptr, size_t len, int *waitfor)
}
ssize_t
be_tls_write(Port *port, void *ptr, size_t len, int *waitfor)
be_tls_write(Port *port, const void *ptr, size_t len, int *waitfor)
{
ssize_t n;
int err;