chiark / gitweb /
comm: Introduce comm_addr_to_string
[secnet.git] / util.c
diff --git a/util.c b/util.c
index 9a20420e38de1de999f0016cb600ab90dc21799d..3bfa6bb81afbca72ef26aed0741f62e10b8eeaee 100644 (file)
--- a/util.c
+++ b/util.c
@@ -394,7 +394,7 @@ void send_nak(const struct comm_addr *dest, uint32_t our_index,
     if (logwhy)
        Message(M_INFO,"%s: %08"PRIx32"<-%08"PRIx32": %08"PRIx32":"
                " %s; sending NAK\n",
-               dest->comm->addr_to_string(dest->comm->st,dest),
+               comm_addr_to_string(dest),
                our_index, their_index, msgtype, logwhy);
     dest->comm->sendmsg(dest->comm->st, buf, dest);
 }