1- /* $OpenBSD: channels.c,v 1.405 2021/02/15 20:43:15 markus Exp $ */
1+ /* $OpenBSD: channels.c,v 1.406 2021/04/03 06:18:40 djm Exp $ */
22/*
33 * Author: Tatu Ylonen <ylo@cs.hut.fi>
44 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2299,7 +2299,7 @@ channel_handler_init(struct ssh_channels *sc)
22992299 chan_fn * * pre , * * post ;
23002300
23012301 if ((pre = calloc (SSH_CHANNEL_MAX_TYPE , sizeof (* pre ))) == NULL ||
2302- (post = calloc (SSH_CHANNEL_MAX_TYPE , sizeof (* post ))) == NULL )
2302+ (post = calloc (SSH_CHANNEL_MAX_TYPE , sizeof (* post ))) == NULL )
23032303 fatal_f ("allocation failed" );
23042304
23052305 pre [SSH_CHANNEL_OPEN ] = & channel_pre_open ;
@@ -2699,7 +2699,7 @@ channel_proxy_downstream(struct ssh *ssh, Channel *downstream)
26992699 goto out ;
27002700 }
27012701 c = channel_new (ssh , "mux proxy" , SSH_CHANNEL_MUX_PROXY ,
2702- -1 , -1 , -1 , 0 , 0 , 0 , ctype , 1 );
2702+ -1 , -1 , -1 , 0 , 0 , 0 , ctype , 1 );
27032703 c -> mux_ctx = downstream ; /* point to mux client */
27042704 c -> mux_downstream_id = id ; /* original downstream id */
27052705 if ((r = sshbuf_put_cstring (modified , ctype )) != 0 ||
@@ -2726,7 +2726,7 @@ channel_proxy_downstream(struct ssh *ssh, Channel *downstream)
27262726 goto out ;
27272727 }
27282728 c = channel_new (ssh , "mux proxy" , SSH_CHANNEL_MUX_PROXY ,
2729- -1 , -1 , -1 , 0 , 0 , 0 , "mux-down-connect" , 1 );
2729+ -1 , -1 , -1 , 0 , 0 , 0 , "mux-down-connect" , 1 );
27302730 c -> mux_ctx = downstream ; /* point to mux client */
27312731 c -> mux_downstream_id = id ;
27322732 c -> remote_id = remote_id ;
0 commit comments