You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/02/23 22:51:20 UTC

[13/38] qpid-proton git commit: PROTON-1403: c proactor remove incorrect asserts

PROTON-1403: c proactor remove incorrect asserts


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

Branch: refs/heads/go1
Commit: a21a03ee6ddea533c1de74e564f364952c12f515
Parents: 31b8cc6
Author: Alan Conway <ac...@redhat.com>
Authored: Mon Feb 13 14:47:35 2017 -0500
Committer: Alan Conway <ac...@redhat.com>
Committed: Mon Feb 13 14:48:42 2017 -0500

----------------------------------------------------------------------
 proton-c/src/proactor/libuv.c | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/a21a03ee/proton-c/src/proactor/libuv.c
----------------------------------------------------------------------
diff --git a/proton-c/src/proactor/libuv.c b/proton-c/src/proactor/libuv.c
index 6064bd6..29463d5 100644
--- a/proton-c/src/proactor/libuv.c
+++ b/proton-c/src/proactor/libuv.c
@@ -901,17 +901,14 @@ pn_condition_t* pn_listener_condition(pn_listener_t* l) {
 }
 
 void *pn_listener_get_context(pn_listener_t *l) {
-  assert(l->psocket.state == ON_WORKER);
   return l->context;
 }
 
 void pn_listener_set_context(pn_listener_t *l, void *context) {
-  assert(l->psocket.state == ON_WORKER);
   l->context = context;
 }
 
 pn_record_t *pn_listener_attachments(pn_listener_t *l) {
-  assert(l->psocket.state == ON_WORKER);
   return l->attachments;
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org