Has been deprecated for a while and appears to no longer be required by
any of the current code. The reference& copy-constructor can easily be
used in its place.
operator=(s);
}
-#if 0
-Ip::Address::Address(Ip::Address *s)
-{
- setEmpty();
- if (s)
- memcpy(this, s, sizeof(Ip::Address));
-}
-#endif
-
Ip::Address::Address(const struct hostent &s)
{
setEmpty();
/*@{*/
Address() { setEmpty(); }
Address(const Ip::Address &);
-
- /**
- * This constructor takes its own copy of the object pointed to for memory-safe usage later.
- * The caller must itself perform and ptr memory-management needed.
- *
- \deprecated Use of pointers can be nasty. Consider this a last-resort.
- * Prefer the by-reference (&) version instead.
- */
- Address(Address *);
-
Address(const struct in_addr &);
Address(const struct sockaddr_in &);
Address(const struct in6_addr &);
debugs(50, DBG_IMPORTANT, "Unable to open UDP socket for logging");
return FALSE;
}
- } else if (!comm_connect_addr(ll->fd, &addr)) {
+ } else if (!comm_connect_addr(ll->fd, addr)) {
if (lf->flags.fatal) {
fatalf("Unable to connect to %s for UDP log: %s\n", lf->path, xstrerror());
} else {