Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix rmr_call() parameter checking bug
[ric-plt/lib/rmr.git]
/
src
/
rmr
/
si
/
src
/
sr_si_static.c
diff --git
a/src/rmr/si/src/sr_si_static.c
b/src/rmr/si/src/sr_si_static.c
index
dac0cb5
..
798fe26
100644
(file)
--- a/
src/rmr/si/src/sr_si_static.c
+++ b/
src/rmr/si/src/sr_si_static.c
@@
-789,6
+789,7
@@
static rmr_mbuf_t* mtosend_msg( void* vctx, rmr_mbuf_t* msg, int max_to ) {
} else {
ok_sends++;
msg = clone_m; // clone will be the next to send
+ msg->state = RMR_OK;
}
} else {
msg = send_msg( ctx, msg, nn_sock, max_to ); // send the last, and allocate a new buffer; drops the clone if it was