renamed receiver to role

FossilOrigin-Name: 0c01fc3f3b3f76375f25a46b128990f957ed45a65a7efe302cd415d9644db241
This commit is contained in:
7u83@mail.ru 2018-04-01 08:06:22 +00:00
parent 733ba6795d
commit fac5784873
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ static int process_elements(struct conn *conn, uint8_t * rawmsg, int len,
/* maybe we have to check this too: if (!(message->type & 1))
* means unexpected response message
* */
if (!(message->receiver & conn->receiver)) {
if (!(message->receiver & conn->role)) {
cw_dbg(DBG_MSG_ERR,
"Message type %d (%s) unexpected/illegal in %s State, discarding.",
search.type, cw_strmsg(search.type),