Calling zmq_disconnect with an unknown endpoint should set zmq_errno to EINVAL instead of ENOENT

Description

Similar to bug #508 for zmq_unbind. Currently it sets zmq_errno to ENOENT when the documentation states that it should set it to EINVAL. I do not know if this is a library bug or a documentation error.

Code to reproduce is in the "issues" repository corresponding to this bug number.

Environment

OSX 10.8.2, libzmq 3.2.3 (master from zeromq3-x)

Activity

Show:

Details

Assignee

Reporter

Components

Affects versions

Priority

Created February 19, 2013 at 2:27 PM
Updated February 19, 2013 at 2:27 PM