mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-16 20:41:18 +08:00
Problem: fn pointers are not bool (vc++ warning C4550).
This commit is contained in:
parent
87fbe5a542
commit
8d78e08f71
@ -50,7 +50,7 @@ bool zmq::timers_t::check_tag ()
|
||||
|
||||
int zmq::timers_t::add (size_t interval_, timers_timer_fn handler_, void *arg_)
|
||||
{
|
||||
if (!handler_) {
|
||||
if (handler_ == NULL) {
|
||||
errno = EFAULT;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user