Commit 762bd406 authored by Aurelio Colosimo's avatar Aurelio Colosimo

proto-standard/common-fun.c: fix error log msg in handle_followup

Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent 10cc9ca7
...@@ -174,7 +174,7 @@ int st_com_slave_handle_followup(struct pp_instance *ppi, unsigned char *buf, ...@@ -174,7 +174,7 @@ int st_com_slave_handle_followup(struct pp_instance *ppi, unsigned char *buf,
return -1; return -1;
if (!ppi->is_from_cur_par) { if (!ppi->is_from_cur_par) {
pp_error("%s: SequenceID doesn't match last Sync message\n", pp_error("%s: Follow up message is not from current parent\n",
__func__); __func__);
return 0; return 0;
} }
...@@ -186,8 +186,8 @@ int st_com_slave_handle_followup(struct pp_instance *ppi, unsigned char *buf, ...@@ -186,8 +186,8 @@ int st_com_slave_handle_followup(struct pp_instance *ppi, unsigned char *buf,
} }
if (ppi->recv_sync_sequence_id != hdr->sequenceId) { if (ppi->recv_sync_sequence_id != hdr->sequenceId) {
pp_error("%s: Follow up message is not from current parent\n", pp_error("%s: SequenceID %d doesn't match last Sync message %d\n",
__func__); __func__, hdr->sequenceId, ppi->recv_sync_sequence_id);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment