work around compiler warning, ensure we leave 0-terminator, even though it is not required by the kernel
This commit is contained in:
parent
99b3ed45fa
commit
2aa77fdd1c
1
debian/libtalerexchange-dev.install
vendored
Normal file
1
debian/libtalerexchange-dev.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/include/taler/*
|
4
debian/libtalerexchange.install
vendored
Normal file
4
debian/libtalerexchange.install
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
usr/bin/taler-config
|
||||
usr/lib/*/libtaler*
|
||||
usr/share/taler/config.d/*
|
||||
usr/share/taler/sql/*
|
@ -1558,7 +1558,7 @@ run (void *cls,
|
||||
un.sun_family = AF_UNIX;
|
||||
strncpy (un.sun_path,
|
||||
unixpath,
|
||||
sizeof (un.sun_path));
|
||||
sizeof (un.sun_path) - 1);
|
||||
if (0 != bind (sock,
|
||||
(const struct sockaddr *) &un,
|
||||
sizeof (un)))
|
||||
|
@ -1934,7 +1934,7 @@ run (void *cls,
|
||||
un.sun_family = AF_UNIX;
|
||||
strncpy (un.sun_path,
|
||||
unixpath,
|
||||
sizeof (un.sun_path));
|
||||
sizeof (un.sun_path) - 1);
|
||||
if (0 != bind (sock,
|
||||
(const struct sockaddr *) &un,
|
||||
sizeof (un)))
|
||||
|
Loading…
Reference in New Issue
Block a user