mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-28 11:31:56 +01:00 
			
		
		
		
	Don't pass flags to xsend method
This commit is contained in:
		| @@ -39,7 +39,7 @@ zmq::req_t::~req_t () | ||||
| { | ||||
| } | ||||
|  | ||||
| int zmq::req_t::xsend (msg_t *msg_, int flags_) | ||||
| int zmq::req_t::xsend (msg_t *msg_) | ||||
| { | ||||
|     //  If we've sent a request and we still haven't got the reply, | ||||
|     //  we can't send another request. | ||||
| @@ -54,7 +54,7 @@ int zmq::req_t::xsend (msg_t *msg_, int flags_) | ||||
|         int rc = bottom.init (); | ||||
|         errno_assert (rc == 0); | ||||
|         bottom.set_flags (msg_t::more); | ||||
|         rc = dealer_t::xsend (&bottom, 0); | ||||
|         rc = dealer_t::xsend (&bottom); | ||||
|         if (rc != 0) | ||||
|             return -1; | ||||
|         message_begins = false; | ||||
| @@ -62,7 +62,7 @@ int zmq::req_t::xsend (msg_t *msg_, int flags_) | ||||
|  | ||||
|     bool more = msg_->flags () & msg_t::more ? true : false; | ||||
|  | ||||
|     int rc = dealer_t::xsend (msg_, flags_); | ||||
|     int rc = dealer_t::xsend (msg_); | ||||
|     if (rc != 0) | ||||
|         return rc; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hurton
					Martin Hurton