Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Initialise more value #307

Merged
merged 1 commit into from

2 participants

@hintjens hintjens merged commit 0acacbe into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 21, 2013
  1. @ianbarber
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/C++/zmsg.hpp
View
2  examples/C++/zmsg.hpp
@@ -109,7 +109,7 @@ class zmsg {
data[message.size()] = 0;
push_back((char *)data.c_str());
}
- int64_t more;
+ int64_t more = 0;
size_t more_size = sizeof(more);
socket.getsockopt(ZMQ_RCVMORE, &more, &more_size);
if (!more) {
Something went wrong with that request. Please try again.