diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-07 17:59:51 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-13 13:25:17 +0100 |
commit | 95ca53f3e05ac31b05df64412ed1644fa03f99cb (patch) | |
tree | 2704630ae364601e60ec89e9a2240ab62ceb344d /lib | |
parent | 1a995ab51e1ce236d713e20e264b8c65146b8ec4 (diff) | |
download | samba-95ca53f3e05ac31b05df64412ed1644fa03f99cb.tar.gz samba-95ca53f3e05ac31b05df64412ed1644fa03f99cb.tar.bz2 samba-95ca53f3e05ac31b05df64412ed1644fa03f99cb.zip |
Use ZERO_STRUCTP
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/util_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util_net.c b/lib/util/util_net.c index b537e59316..723c0002e4 100644 --- a/lib/util/util_net.c +++ b/lib/util/util_net.c @@ -35,7 +35,7 @@ void zero_sockaddr(struct sockaddr_storage *pss) { - memset(pss, '\0', sizeof(*pss)); + ZERO_STRUCTP(pss); /* Ensure we're at least a valid sockaddr-storage. */ pss->ss_family = AF_INET; } |