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
ae567be0
Commit
ae567be0
authored
Aug 26, 2010
by
Ivo Danihelka
Committed by
Martin Sustrik
Sep 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved null checking in zmq_term
parent
51a84c15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
AUTHORS
AUTHORS
+1
-0
zmq.cpp
src/zmq.cpp
+4
-3
No files found.
AUTHORS
View file @
ae567be0
...
...
@@ -16,6 +16,7 @@ Erik Rigtorp <erik@rigtorp.com>
Frank Denis <zeromq@pureftpd.org>
George Neill <georgen@neillnet.com>
Gonzalo Diethelm <gdiethelm@dcv.cl>
Ivo Danihelka <ivo@danihelka.net>
Joe Thornber <joe.thornber@gmail.com>
Jon Dyte <jon@totient.co.uk>
Kamil Shakirov <kamils80@gmail.com>
...
...
src/zmq.cpp
View file @
ae567be0
...
...
@@ -272,13 +272,14 @@ void *zmq_init (int io_threads_)
int
zmq_term
(
void
*
ctx_
)
{
int
rc
=
((
zmq
::
ctx_t
*
)
ctx_
)
->
term
();
int
en
=
errno
;
if
(
!
ctx_
)
{
errno
=
EFAULT
;
return
-
1
;
}
int
rc
=
((
zmq
::
ctx_t
*
)
ctx_
)
->
term
();
int
en
=
errno
;
#if defined ZMQ_HAVE_OPENPGM
// Shut down the OpenPGM library.
if
(
pgm_shutdown
()
!=
TRUE
)
...
...
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