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
5d41d51b
Commit
5d41d51b
authored
Jan 08, 2014
by
Martin Hurton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace assert with zmq_assert
parent
10145016
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
msg.cpp
src/msg.cpp
+1
-1
proxy.cpp
src/proxy.cpp
+1
-1
req.cpp
src/req.cpp
+1
-1
stream_engine.cpp
src/stream_engine.cpp
+1
-1
No files found.
src/msg.cpp
View file @
5d41d51b
...
...
@@ -80,7 +80,7 @@ int zmq::msg_t::init_data (void *data_, size_t size_, msg_free_fn *ffn_,
{
// If data is NULL and size is not 0, a segfault
// would occur once the data is accessed
assert
(
data_
!=
NULL
||
size_
==
0
);
zmq_
assert
(
data_
!=
NULL
||
size_
==
0
);
file_desc
=
-
1
;
...
...
src/proxy.cpp
View file @
5d41d51b
...
...
@@ -125,7 +125,7 @@ int zmq::proxy (
else
{
// This is an API error, we should assert
puts
(
"E: invalid command sent to proxy"
);
assert
(
false
);
zmq_
assert
(
false
);
}
}
// Process a request
...
...
src/req.cpp
View file @
5d41d51b
...
...
@@ -81,7 +81,7 @@ int zmq::req_t::xsend (msg_t *msg_)
rc
=
dealer_t
::
sendpipe
(
&
bottom
,
&
reply_pipe
);
if
(
rc
!=
0
)
return
-
1
;
assert
(
reply_pipe
);
zmq_
assert
(
reply_pipe
);
message_begins
=
false
;
...
...
src/stream_engine.cpp
View file @
5d41d51b
...
...
@@ -217,7 +217,7 @@ void zmq::stream_engine_t::terminate ()
void
zmq
::
stream_engine_t
::
in_event
()
{
assert
(
!
io_error
);
zmq_
assert
(
!
io_error
);
// If still handshaking, receive and process the greeting message.
if
(
unlikely
(
handshaking
))
...
...
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