msgbuf: allow for an explicit target to be defined
This commit is contained in:
parent
815fbc146f
commit
71c875fb9a
2 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue