diff options
Diffstat (limited to 'socket-util.c')
-rw-r--r-- | socket-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/socket-util.c b/socket-util.c index 1024ecbed3..77b80d0127 100644 --- a/socket-util.c +++ b/socket-util.c @@ -21,7 +21,7 @@ int socket_address_parse(SocketAddress *a, const char *s) { assert(a); assert(s); - memset(a, 0, sizeof(*a)); + zero(*a); a->type = SOCK_STREAM; if (*s == '[') { |