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
6b2ec366
Commit
6b2ec366
authored
Feb 15, 2012
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed return type of zmq_msg_size to ssize_t to allow error return
parent
d38951db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
zmq.h
include/zmq.h
+1
-1
zmq.cpp
src/zmq.cpp
+1
-1
No files found.
include/zmq.h
View file @
6b2ec366
...
...
@@ -165,7 +165,7 @@ ZMQ_EXPORT int zmq_msg_close (zmq_msg_t *msg);
ZMQ_EXPORT
int
zmq_msg_move
(
zmq_msg_t
*
dest
,
zmq_msg_t
*
src
);
ZMQ_EXPORT
int
zmq_msg_copy
(
zmq_msg_t
*
dest
,
zmq_msg_t
*
src
);
ZMQ_EXPORT
void
*
zmq_msg_data
(
zmq_msg_t
*
msg
);
ZMQ_EXPORT
size_t
zmq_msg_size
(
zmq_msg_t
*
msg
);
ZMQ_EXPORT
s
s
ize_t
zmq_msg_size
(
zmq_msg_t
*
msg
);
ZMQ_EXPORT
int
zmq_getmsgopt
(
zmq_msg_t
*
msg
,
int
option
,
void
*
optval
,
size_t
*
optvallen
);
...
...
src/zmq.cpp
View file @
6b2ec366
...
...
@@ -572,7 +572,7 @@ void *zmq_msg_data (zmq_msg_t *msg_)
return
((
zmq
::
msg_t
*
)
msg_
)
->
data
();
}
size_t
zmq_msg_size
(
zmq_msg_t
*
msg_
)
s
s
ize_t
zmq_msg_size
(
zmq_msg_t
*
msg_
)
{
if
(
!
msg_
)
{
errno
=
EFAULT
;
...
...
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