Loading nfq/desync.c +8 −5 Original line number Diff line number Diff line Loading @@ -810,6 +810,8 @@ static bool ipcache_put_hostname(const struct in_addr *a4, const struct in6_addr DLOG_ERR("ipcache_put_hostname: out of memory\n"); return false; } if (!ipc->hostname || strcmp(ipc->hostname,hostname)) { free(ipc->hostname); if (!(ipc->hostname = strdup(hostname))) { Loading @@ -817,6 +819,7 @@ static bool ipcache_put_hostname(const struct in_addr *a4, const struct in6_addr return false; } DLOG("hostname cached: %s\n", hostname); } return true; } static bool ipcache_get_hostname(const struct in_addr *a4, const struct in6_addr *a6, char *hostname, size_t hostname_buf_len) Loading Loading
nfq/desync.c +8 −5 Original line number Diff line number Diff line Loading @@ -810,6 +810,8 @@ static bool ipcache_put_hostname(const struct in_addr *a4, const struct in6_addr DLOG_ERR("ipcache_put_hostname: out of memory\n"); return false; } if (!ipc->hostname || strcmp(ipc->hostname,hostname)) { free(ipc->hostname); if (!(ipc->hostname = strdup(hostname))) { Loading @@ -817,6 +819,7 @@ static bool ipcache_put_hostname(const struct in_addr *a4, const struct in6_addr return false; } DLOG("hostname cached: %s\n", hostname); } return true; } static bool ipcache_get_hostname(const struct in_addr *a4, const struct in6_addr *a6, char *hostname, size_t hostname_buf_len) Loading