mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Add some missing 'const' in pfl_listen.
This commit is contained in:
parent
14f797305a
commit
dfb8d5da52
@ -516,8 +516,9 @@ static const PlugVtable PortListener_plugvt = {
|
|||||||
* On success, returns NULL and fills in *pl_ret. On error, returns a
|
* On success, returns NULL and fills in *pl_ret. On error, returns a
|
||||||
* dynamically allocated error message string.
|
* dynamically allocated error message string.
|
||||||
*/
|
*/
|
||||||
static char *pfl_listen(char *desthost, int destport, char *srcaddr,
|
static char *pfl_listen(const char *desthost, int destport,
|
||||||
int port, ConnectionLayer *cl, Conf *conf,
|
const char *srcaddr, int port,
|
||||||
|
ConnectionLayer *cl, Conf *conf,
|
||||||
struct PortListener **pl_ret, int address_family)
|
struct PortListener **pl_ret, int address_family)
|
||||||
{
|
{
|
||||||
const char *err;
|
const char *err;
|
||||||
|
Loading…
Reference in New Issue
Block a user