qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1299398 - /qpid/proton/proton-c/src/engine/engine.c
Date Sun, 11 Mar 2012 17:11:59 GMT
Author: rhs
Date: Sun Mar 11 17:11:59 2012
New Revision: 1299398

URL: http://svn.apache.org/viewvc?rev=1299398&view=rev
Log:
fixed cut and paste bug from last commit

Modified:
    qpid/proton/proton-c/src/engine/engine.c

Modified: qpid/proton/proton-c/src/engine/engine.c
URL: http://svn.apache.org/viewvc/qpid/proton/proton-c/src/engine/engine.c?rev=1299398&r1=1299397&r2=1299398&view=diff
==============================================================================
--- qpid/proton/proton-c/src/engine/engine.c (original)
+++ qpid/proton/proton-c/src/engine/engine.c Sun Mar 11 17:11:59 2012
@@ -1170,10 +1170,10 @@ void pn_post_disp(pn_transport_t *transp
   pn_field(transport->disp, DISPOSITION_SETTLED, pn_boolean(delivery->local_settled));
   uint64_t code;
   switch(delivery->local_state) {
-  case ACCEPTED:
+  case PN_ACCEPTED:
     code = ACCEPTED;
     break;
-  case RELEASED:
+  case PN_RELEASED:
     code = RELEASED;
     break;
     //TODO: rejected and modified (both take extra data which may need to be passed through
somehow) e.g. change from enum to discriminated union?



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


Mime
View raw message