summaryrefslogtreecommitdiff
path: root/socket-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-24 00:39:29 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-24 00:39:29 +0100
commit9152c765065184d0c1267ed2499e3fe4cac53755 (patch)
tree70047967e77e502779d1febc6209a4f7b67a1bbf /socket-util.c
parent476fe607ecbabc5beffafc8efb0778e3d9e1030a (diff)
add simple event loop
Diffstat (limited to 'socket-util.c')
-rw-r--r--socket-util.c2
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 == '[') {