This is the one call site of comm_notify. (If we had had any comm
that wasn't based on udp.c, that would have needed updating too.)
No overall functional change: nothing ever sets this yet, so we always
use the default message.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
/* Manufacture and send NAK packet */
source=get_uint32(cc->rbuf->start); /* Us */
dest=get_uint32(cc->rbuf->start+4); /* Them */
- send_nak(&ca,source,dest,msgtype,cc->rbuf,"unwanted");
+ send_nak(&ca,source,dest,msgtype,cc->rbuf,
+ priomsg_getmessage(&cc->why_unwanted,
+ "unwanted"));
}
BUF_FREE(cc->rbuf);
}