diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-02-22 16:23:36 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-02-22 16:23:36 +0100 |
commit | 43e8868875e1d5287979e5b9060a9b16be45cc79 (patch) | |
tree | d6df0587b107de28641b429048dff002e3c2387f /src/zmq_listener.cpp | |
parent | 98ccff1a24a056aef15372b131eee1c1bf8f62ca (diff) |
Added explicit error message in case of memory exhaustion
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/zmq_listener.cpp')
-rw-r--r-- | src/zmq_listener.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq_listener.cpp b/src/zmq_listener.cpp index 2a7f1eb..06f76bf 100644 --- a/src/zmq_listener.cpp +++ b/src/zmq_listener.cpp @@ -71,7 +71,7 @@ void zmq::zmq_listener_t::in_event () // Create and launch an init object. zmq_init_t *init = new (std::nothrow) zmq_init_t (io_thread, socket, NULL, fd, options); - zmq_assert (init); + alloc_assert (init); launch_child (init); } |