From 088a2db6746488c1ce4a73c357caaece50bbdf60 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 23 Sep 2009 10:22:54 +0200 Subject: ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding --- src/req.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/req.cpp') diff --git a/src/req.cpp b/src/req.cpp index 3fd9b38..63409ce 100644 --- a/src/req.cpp +++ b/src/req.cpp @@ -115,7 +115,7 @@ int zmq::req_t::xsetsockopt (int option_, const void *optval_, return -1; } -int zmq::req_t::xsend (struct zmq_msg_t *msg_, int flags_) +int zmq::req_t::xsend (zmq_msg_t *msg_, int flags_) { // If we've sent a request and we still haven't got the reply, // we can't send another request. @@ -170,7 +170,7 @@ int zmq::req_t::xflush () return -1; } -int zmq::req_t::xrecv (struct zmq_msg_t *msg_, int flags_) +int zmq::req_t::xrecv (zmq_msg_t *msg_, int flags_) { // Deallocate old content of the message. zmq_msg_close (msg_); -- cgit v1.2.3