reset now after waking up

Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/da1411e7
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/da1411e7
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/da1411e7

Branch: refs/heads/master
Commit: da1411e73eae4bd560207210c8813c92e6877f90
Parents: 363ea50
Author: Rafael Schloming <[email protected]>
Authored: Sun Jan 11 14:19:07 2015 -0500
Committer: Rafael Schloming <[email protected]>
Committed: Sun Jan 11 14:19:07 2015 -0500

----------------------------------------------------------------------
 proton-c/src/reactor/reactor.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/da1411e7/proton-c/src/reactor/reactor.c
----------------------------------------------------------------------
diff --git a/proton-c/src/reactor/reactor.c b/proton-c/src/reactor/reactor.c
index 8487822..3857dd7 100644
--- a/proton-c/src/reactor/reactor.c
+++ b/proton-c/src/reactor/reactor.c
@@ -269,6 +269,7 @@ bool pn_reactor_work(pn_reactor_t *reactor, int timeout) {
   pn_selector_select(reactor->selector, timeout);
   pn_selectable_t *sel;
   int events;
+  reactor->now = pn_i_now();
   while ((sel = pn_selector_next(reactor->selector, &events))) {
     if (events & PN_READABLE) {
       pn_selectable_readable(sel);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to