PVS V510: passing struct instead of address to function

Change-Id: Ic81e062e7ddb0d5ea2ef796bb0815f5ec6bf7414
Reviewed-on: https://review.haiku-os.org/c/1660
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Adrien Destugues 2019-07-28 11:16:59 +02:00 committed by waddlesplash
parent 7bdc1a190c
commit 017d6fb4ad

View File

@ -278,7 +278,7 @@ ctl_endserver(struct ctl_sctx *ctx) {
struct ctl_sess *this, *next;
(*ctx->logger)(ctl_debug, "%s: ctx %p, sock %d, acID %p, sess %p",
me, ctx, ctx->sock, ctx->acID.opaque, ctx->sess);
me, ctx, ctx->sock, ctx->acID.opaque, ctx->sess.head);
if (ctx->acID.opaque != NULL) {
(void)evCancelConn(ctx->ev, ctx->acID);
ctx->acID.opaque = NULL;