msgbuf: allow for an explicit target to be defined

This commit is contained in:
William Pitcock 2016-02-20 17:59:00 -06:00
parent 815fbc146f
commit 71c875fb9a
2 changed files with 6 additions and 2 deletions

View file

@ -156,6 +156,9 @@ msgbuf_unparse_prefix(char *buf, size_t buflen, struct MsgBuf *msgbuf, unsigned
if (msgbuf->cmd != NULL)
rb_snprintf_append(buf, buflen, "%s ", msgbuf->cmd);
if (msgbuf->target != NULL)
rb_snprintf_append(buf, buflen, "%s ", msgbuf->target);
}
/*