mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-04 09:40:16 +01:00
Merge branch 'init-unit-hostip' into 'main'
dbus-sysdeps-unix: fix warning with unit hostip array See merge request dbus/dbus!535
This commit is contained in:
commit
04c0097366
1 changed files with 1 additions and 1 deletions
|
|
@ -5089,7 +5089,7 @@ _dbus_append_address_from_socket (DBusSocket fd,
|
|||
struct sockaddr_in ipv4;
|
||||
struct sockaddr_in6 ipv6;
|
||||
} socket;
|
||||
char hostip[INET6_ADDRSTRLEN];
|
||||
char hostip[INET6_ADDRSTRLEN] = { '\0' };
|
||||
socklen_t size = sizeof (socket);
|
||||
DBusString path_str;
|
||||
const char *family_name = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue