[GitHub] qpid-dispatch pull request #167: DISPATCH-788 - First attempt at adding a co...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] qpid-dispatch pull request #167: DISPATCH-788 - First attempt at adding a co...

ted-ross
Github user ted-ross commented on a diff in the pull request:

    https://github.com/apache/qpid-dispatch/pull/167#discussion_r122776504
 
    --- Diff: src/router_core/transfer.c ---
    @@ -671,7 +708,8 @@ static void qdr_send_to_CT(qdr_core_t *core, qdr_action_t *action, bool discard)
     static void qdr_update_delivery_CT(qdr_core_t *core, qdr_action_t *action, bool discard)
     {
         qdr_delivery_t *dlv        = action->args.delivery.delivery;
    -    qdr_delivery_t *peer       = dlv->peer;
    +    qdr_delivery_start_peer_CT(dlv);
    --- End diff --
   
    Now that I'm looking at it, a better API might be: qdr_delivery_t qdr_delivery_first_peer_CT(dlv) instead of start_peer.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---

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

Loading...