summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-17 06:30:50 +0100
committerMichael Adam <obnox@samba.org>2008-02-19 21:58:12 +0100
commit5fb2d5b0863e507c43462eb3913f2a16ef14c52a (patch)
tree97a4cbd25fcf4992ce1d30eaa1b821945ba0a8d7
parent1de665002c4f3f495214659143736baeeda8ec60 (diff)
downloadsamba-5fb2d5b0863e507c43462eb3913f2a16ef14c52a.tar.gz
samba-5fb2d5b0863e507c43462eb3913f2a16ef14c52a.tar.bz2
samba-5fb2d5b0863e507c43462eb3913f2a16ef14c52a.zip
r26491: Fix syntax.
(cherry picked from commit 2513230e286179747bb84e4e87121b80bea8f3f0) (This used to be commit d9c3b27c3fafb3adb7bc6521f5be97aec7fe8bfc)
-rw-r--r--source3/lib/replace/getifaddrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/getifaddrs.c b/source3/lib/replace/getifaddrs.c
index b681a8649c..c9b5c2f6ef 100644
--- a/source3/lib/replace/getifaddrs.c
+++ b/source3/lib/replace/getifaddrs.c
@@ -60,7 +60,7 @@ struct sockaddr *sockaddr_dup(struct sockaddr *sa)
#else
socklen = sizeof(struct sockaddr_storage);
#endif
- ret = = calloc(1, socklen);
+ ret = calloc(1, socklen);
if (ret == NULL)
return NULL;
memcpy(ret, sa, socklen);