diff options
author | Gabor X Toth <*@tg-x.net> | 2014-05-06 10:26:24 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2014-05-06 10:26:24 +0000 |
commit | 4e1baae59f18ee5d7cd47afe28ced3daaaa5a5ad (patch) | |
tree | 4e0d4a1bf488d4969f44e3a8db26af6ca22d4db7 /src/psycstore/psycstore_api.c | |
parent | b2061e704ac6309bb7ee4427a89a1572aa9f339e (diff) |
psyc: in-order message delivery
Diffstat (limited to 'src/psycstore/psycstore_api.c')
-rw-r--r-- | src/psycstore/psycstore_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/psycstore/psycstore_api.c b/src/psycstore/psycstore_api.c index 88ae1185b9..a5fdea10b8 100644 --- a/src/psycstore/psycstore_api.c +++ b/src/psycstore/psycstore_api.c @@ -1099,9 +1099,9 @@ GNUNET_PSYCSTORE_state_sync (struct GNUNET_PSYCSTORE_Handle *h, req->message_id = GNUNET_htonll (message_id); req->name_size = htons (name_size); req->flags - = 0 == i + = (0 == i) ? STATE_OP_FIRST - : modifier_count - 1 == i + : (modifier_count - 1 == i) ? STATE_OP_LAST : 0; |