summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object.cpp b/src/object.cpp
index 5821c89..9221280 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -79,6 +79,7 @@ void zmq::object_t::process_command (command_t &cmd_)
case command_t::own:
process_own (cmd_.args.own.object);
+ process_seqnum ();
break;
case command_t::attach:
@@ -182,6 +183,7 @@ void zmq::object_t::send_plug (owned_t *destination_, bool inc_seqnum_)
void zmq::object_t::send_own (socket_base_t *destination_, owned_t *object_)
{
+ destination_->inc_seqnum ();
command_t cmd;
cmd.destination = destination_;
cmd.type = command_t::own;