Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
5271bc9d
Commit
5271bc9d
authored
Sep 26, 2013
by
Richard Newton
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #685 from hintjens/master
Build/test errors on OS/X with clang++
parents
9827a127
26d5ac40
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
options.cpp
src/options.cpp
+1
-1
test_stream.cpp
tests/test_stream.cpp
+0
-1
curve_keygen.c
tools/curve_keygen.c
+1
-0
No files found.
src/options.cpp
View file @
5271bc9d
...
...
@@ -286,7 +286,7 @@ int zmq::options_t::setsockopt (int option_, const void *optval_,
break
;
case
ZMQ_ZAP_DOMAIN
:
if
(
optvallen_
>=
0
&&
optvallen_
<
256
)
{
if
(
optvallen_
<
256
)
{
zap_domain
.
assign
((
const
char
*
)
optval_
,
optvallen_
);
return
0
;
}
...
...
tests/test_stream.cpp
View file @
5271bc9d
...
...
@@ -102,7 +102,6 @@ test_stream_to_dealer (void)
assert
(
rc
>=
0
);
bytes_read
+=
rc
;
}
assert
(
rc
==
97
);
// First two bytes are major and minor version numbers.
assert
(
buffer
[
0
]
==
3
);
// ZMTP/3.0
...
...
tools/curve_keygen.c
View file @
5271bc9d
...
...
@@ -24,6 +24,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <zmq_utils.h>
#ifdef HAVE_LIBSODIUM
# include <sodium.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment