diff options
author | Ricardo Mestre <mestre@cvs.openbsd.org> | 2016-11-08 09:31:56 +0000 |
---|---|---|
committer | Ricardo Mestre <mestre@cvs.openbsd.org> | 2016-11-08 09:31:56 +0000 |
commit | 34961a456d14dff35dc006bc934fbf1861c6619b (patch) | |
tree | c8bd7768ff8f74ad4a2b2ff9eb80a0f515bd6f83 | |
parent | c486220bf3dc7a27528db8ae55c9170884414382 (diff) |
Remove redundant & when clearing hostname variable, as per otto@'s request
-rw-r--r-- | libexec/spamd/spamd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c index 6e16c1bd36f..3e361a857df 100644 --- a/libexec/spamd/spamd.c +++ b/libexec/spamd/spamd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spamd.c,v 1.145 2016/11/07 22:18:22 mestre Exp $ */ +/* $OpenBSD: spamd.c,v 1.146 2016/11/08 09:31:55 mestre Exp $ */ /* * Copyright (c) 2015 Henning Brauer <henning@openbsd.org> @@ -1306,7 +1306,7 @@ main(int argc, char *argv[]) greyexp *= (60 * 60); break; case 'h': - memset(&hostname, 0, sizeof(hostname)); + memset(hostname, 0, sizeof(hostname)); if (strlcpy(hostname, optarg, sizeof(hostname)) >= sizeof(hostname)) errx(1, "-h arg too long"); |