We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63cc0e9 commit 6495f4dCopy full SHA for 6495f4d
src/netlog/netlog-conf.c
@@ -32,7 +32,7 @@ int config_parse_netlog_remote_address(const char *unit,
32
33
r = socket_address_parse(&m->address, rvalue);
34
if (r < 0) {
35
- struct addrinfo hints = {
+ const struct addrinfo hints = {
36
.ai_flags = AI_NUMERICSERV|AI_ADDRCONFIG,
37
.ai_socktype = SOCK_DGRAM,
38
.ai_family = socket_ipv6_is_supported() ? AF_UNSPEC : AF_INET,
0 commit comments