diff options
author | djm@openbsd.org <djm@openbsd.org> | 2022-05-05 00:56:58 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-05-05 11:34:52 +1000 |
commit | 0e44db4d9cb313e68a59a44d27884af66c02356e (patch) | |
tree | 63c2a43a53e6c60de2e2f93fb30a43a05b561c0f /channels.h | |
parent | 37b62fd5caf19c85a48241535277cefff65adace (diff) |
upstream: channel_new no longer frees remote_name. So update the
comment accordingly. As remote_name is not modified, it can be const as
well. From Martin Vahlensieck
OpenBSD-Commit-ID: e4e10dc8dc9f40c166ea5a8e991942bedc75a76a
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: channels.h,v 1.142 2022/03/30 21:10:25 djm Exp $ */ +/* $OpenBSD: channels.h,v 1.143 2022/05/05 00:56:58 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -275,7 +275,7 @@ Channel *channel_by_id(struct ssh *, int); Channel *channel_by_remote_id(struct ssh *, u_int); Channel *channel_lookup(struct ssh *, int); Channel *channel_new(struct ssh *, char *, int, int, int, int, - u_int, u_int, int, char *, int); + u_int, u_int, int, const char *, int); void channel_set_fds(struct ssh *, int, int, int, int, int, int, int, u_int); void channel_free(struct ssh *, Channel *); |