diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-02-27 13:12:13 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-02-27 13:12:13 +0000 |
commit | a458571f1903e5f772b13da17b87d5825a92a8d2 (patch) | |
tree | 11f7ccfd17b076d3fabbc76cbfa9616e8ba277f4 /sbin/isakmpd/message.c | |
parent | 029d751cb54abd6e29954490d7a1ab467b7202f5 (diff) |
where possible, use bzero instead of memset
ok cloder henning
Diffstat (limited to 'sbin/isakmpd/message.c')
-rw-r--r-- | sbin/isakmpd/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c index 6c03c1888bd..3b3f0074a4a 100644 --- a/sbin/isakmpd/message.c +++ b/sbin/isakmpd/message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: message.c,v 1.95 2005/02/24 00:30:41 cloder Exp $ */ +/* $OpenBSD: message.c,v 1.96 2005/02/27 13:12:12 hshoexer Exp $ */ /* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */ /* @@ -2518,7 +2518,7 @@ message_init(void) { u_int8_t i; - memset(&payload_map, 0, sizeof payload_map); + bzero(&payload_map, sizeof payload_map); payload_index_max = sizeof payload_revmap / sizeof payload_revmap[0]; for (i = 0; i < payload_index_max; i++) { |