mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 07:16:04 +00:00
Problem: udp_engine_t fd cannot be init to NULL
Solution: initialize to -1, since fd is a file descriptor (int).
This commit is contained in:
parent
1046f35930
commit
c84a52b11e
@ -48,7 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
zmq::udp_engine_t::udp_engine_t() :
|
||||
plugged (false),
|
||||
fd(NULL),
|
||||
fd(-1),
|
||||
session(NULL),
|
||||
handle(NULL),
|
||||
address(nullptr),
|
||||
|
Loading…
x
Reference in New Issue
Block a user