skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit d6afd4b928a3e2875297cd9cba11b570a83d95f9
parent dbe0f6b0e6ca31ff2431eec7824284e8547e9ab9
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Thu, 25 Jun 2015 11:42:33 +0000

 Appease compiler on .sun_family in ipc_recv

Diffstat:
Msrc/libstddjb/ipc_recv.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libstddjb/ipc_recv.c b/src/libstddjb/ipc_recv.c @@ -10,7 +10,7 @@ int ipc_recv (int fd, char *s, unsigned int len, char *path) { - struct sockaddr_un sa ; + struct sockaddr_un sa = { .sun_family = AF_UNIX } ; socklen_t total = sizeof sa ; char tmp[len] ; register int r ;