qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiu...@apache.org
Subject svn commit: r1482415 - /qpid/trunk/qpid/extras/dispatch/src/container.c
Date Tue, 14 May 2013 16:05:19 GMT
Author: kgiusti
Date: Tue May 14 16:05:19 2013
New Revision: 1482415

URL: http://svn.apache.org/r1482415
Log:
NO-JIRA: clear delivery on disposition update

Modified:
    qpid/trunk/qpid/extras/dispatch/src/container.c

Modified: qpid/trunk/qpid/extras/dispatch/src/container.c
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/extras/dispatch/src/container.c?rev=1482415&r1=1482414&r2=1482415&view=diff
==============================================================================
--- qpid/trunk/qpid/extras/dispatch/src/container.c (original)
+++ qpid/trunk/qpid/extras/dispatch/src/container.c Tue May 14 16:05:19 2013
@@ -306,14 +306,15 @@ static int process_handler(dx_container_
 
     delivery = pn_work_head(conn);
     while (delivery) {
-        if      (pn_delivery_readable(delivery))
+        if (pn_delivery_readable(delivery))
             process_receive(delivery);
         else if (pn_delivery_writable(delivery))
             do_send(delivery);
 
-        if (pn_delivery_updated(delivery)) 
+        if (pn_delivery_updated(delivery)) {
             do_updated(delivery);
-
+            pn_delivery_clear(delivery);
+        }
         delivery = pn_work_next(delivery);
         event_count++;
     }



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


Mime
View raw message