qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject qpid-proton git commit: PROTON-1403: c proactor remove incorrect asserts
Date Mon, 13 Feb 2017 19:48:58 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master 31b8cc654 -> a21a03ee6


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/master
Commit: a21a03ee6ddea533c1de74e564f364952c12f515
Parents: 31b8cc6
Author: Alan Conway <aconway@redhat.com>
Authored: Mon Feb 13 14:47:35 2017 -0500
Committer: Alan Conway <aconway@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


Mime
View raw message