diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-24 00:39:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-24 00:39:29 +0100 |
commit | 9152c765065184d0c1267ed2499e3fe4cac53755 (patch) | |
tree | 70047967e77e502779d1febc6209a4f7b67a1bbf /socket-util.c | |
parent | 476fe607ecbabc5beffafc8efb0778e3d9e1030a (diff) |
add simple event loop
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 == '[') { |