summaryrefslogtreecommitdiff
path: root/libc/inet/setsockopt.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-22 00:41:29 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-11-09 15:33:44 -0800
commit964d40c5d90598d70616fe54de934ddda39bdc2c (patch)
tree95d9f33ead982c4bc53d291ae66adaa967f2732f /libc/inet/setsockopt.c
parent09f8e01cc53ee7c68819a8d626f12e39139ec7aa (diff)
inet_ntop4: avoid inline initialization
We only need to set the first byte to 0, but gcc likes to zero out the rest of the string with memset() when using this initialization style. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/inet/setsockopt.c')
0 files changed, 0 insertions, 0 deletions