diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-06-30 03:16:34 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-06-30 03:16:34 +0000 |
commit | e617f183e36bb3f52af0c8e024c18728a9bb491e (patch) | |
tree | e162af60d974ea58b96587b515b14243bd3c7007 /libsylph | |
parent | 1f31e54aa7e0282d0ff5c61cc634cd6e0bd4d071 (diff) |
libsylph/socket.c: my_getaddrinfo(): removed redundant zero clear.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2921 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/socket.c b/libsylph/socket.c index d2b55c13..6005f3cf 100644 --- a/libsylph/socket.c +++ b/libsylph/socket.c @@ -941,7 +941,7 @@ static int my_getaddrinfo(const char *node, const char *service, } ai = g_malloc0(sizeof(struct addrinfo)); - paddr = g_malloc0(sizeof(struct sockaddr_in)); + paddr = g_malloc(sizeof(struct sockaddr_in)); memcpy(paddr, &addr, sizeof(struct sockaddr_in)); ai->ai_flags = 0; |