=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/channels.c,v retrieving revision 1.418 retrieving revision 1.419 diff -u -r1.418 -r1.419 --- src/usr.bin/ssh/channels.c 2022/05/04 07:31:22 1.418 +++ src/usr.bin/ssh/channels.c 2022/05/05 00:56:58 1.419 @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.c,v 1.418 2022/05/04 07:31:22 markus Exp $ */ +/* $OpenBSD: channels.c,v 1.419 2022/05/05 00:56:58 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -349,12 +349,12 @@ } /* - * Allocate a new channel object and set its type and socket. This will cause - * remote_name to be freed. + * Allocate a new channel object and set its type and socket. */ Channel * channel_new(struct ssh *ssh, char *ctype, int type, int rfd, int wfd, int efd, - u_int window, u_int maxpack, int extusage, char *remote_name, int nonblock) + u_int window, u_int maxpack, int extusage, const char *remote_name, + int nonblock) { struct ssh_channels *sc = ssh->chanctxt; u_int i, found;