You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2014/12/18 02:29:29 UTC

qpid-proton git commit: added link level redirect to pn_condition_is_redirect

Repository: qpid-proton
Updated Branches:
  refs/heads/master a72202d4f -> a533c5301


added link level redirect to pn_condition_is_redirect


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

Branch: refs/heads/master
Commit: a533c5301f5ad8cdcb30e9ed76cec344b82901bc
Parents: a72202d
Author: Rafael Schloming <rh...@alum.mit.edu>
Authored: Wed Dec 17 20:25:45 2014 -0500
Committer: Rafael Schloming <rh...@alum.mit.edu>
Committed: Wed Dec 17 20:26:29 2014 -0500

----------------------------------------------------------------------
 proton-c/src/engine/engine.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/a533c530/proton-c/src/engine/engine.c
----------------------------------------------------------------------
diff --git a/proton-c/src/engine/engine.c b/proton-c/src/engine/engine.c
index 9bf5cb6..594e4b9 100644
--- a/proton-c/src/engine/engine.c
+++ b/proton-c/src/engine/engine.c
@@ -2036,7 +2036,8 @@ pn_data_t *pn_condition_info(pn_condition_t *condition)
 bool pn_condition_is_redirect(pn_condition_t *condition)
 {
   const char *name = pn_condition_get_name(condition);
-  return name && !strcmp(name, "amqp:connection:redirect");
+  return name && (!strcmp(name, "amqp:connection:redirect") ||
+                  !strcmp(name, "amqp:link:redirect"));
 }
 
 const char *pn_condition_redirect_host(pn_condition_t *condition)


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