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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user