Fixed duplicate variable declaration.

This commit is contained in:
Tim M 2014-01-19 15:05:20 -08:00
parent 2f85447273
commit 2f36f65f8f

View File

@ -269,7 +269,7 @@ void zmq::stream_t::identify_peer (pipe_t *pipe_)
} }
else { else {
put_uint32 (buffer + 1, next_rid++); put_uint32 (buffer + 1, next_rid++);
blob_t identity = blob_t (buffer, sizeof buffer); identity = blob_t (buffer, sizeof buffer);
memcpy (options.identity, identity.data (), identity.size ()); memcpy (options.identity, identity.data (), identity.size ());
options.identity_size = identity.size (); options.identity_size = identity.size ();
} }