return defmsg;
}
+bool_t priomsg_update_fixed(struct priomsg *pm, int prio, const char *m) {
+ if (!priomsg_update_p(pm, prio)) return False;
+ truncmsg_add_string(&pm->m, m);
+ return True;
+}
void buffer_new(struct buffer_if *buf, int32_t len)
{
buf_append_uint32(buf,our_index);
buf_append_uint32(buf,LABEL_NAK);
if (logwhy)
- Message(M_INFO,"%s: %08"PRIx32"<-%08"PRIx32": %08"PRIx32":"
- " %s; sending NAK\n",
+ Message(M_INFO,"%s: sending NAK for"
+ " %08"PRIx32" %08"PRIx32"<-%08"PRIx32":"
+ " %s\n",
comm_addr_to_string(dest),
- our_index, their_index, msgtype, logwhy);
+ msgtype, our_index, their_index, logwhy);
dest->comm->sendmsg(dest->comm->st, buf, dest, 0);
}