summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.c b/channels.c
index 9683b3363..95a51e21b 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.397 2020/03/06 18:19:21 markus Exp $ */ 1/* $OpenBSD: channels.c,v 1.398 2020/04/25 06:59:36 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -454,7 +454,7 @@ fwd_perm_clear(struct permission *perm)
454 free(perm->host_to_connect); 454 free(perm->host_to_connect);
455 free(perm->listen_host); 455 free(perm->listen_host);
456 free(perm->listen_path); 456 free(perm->listen_path);
457 bzero(perm, sizeof(*perm)); 457 memset(perm, 0, sizeof(*perm));
458} 458}
459 459
460/* Returns an printable name for the specified forwarding permission list */ 460/* Returns an printable name for the specified forwarding permission list */