summaryrefslogtreecommitdiff
path: root/src/req.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-09-23 10:22:54 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-09-23 10:22:54 +0200
commit088a2db6746488c1ce4a73c357caaece50bbdf60 (patch)
treede745dd44f673958c305ae0261e986aa1748d17c /src/req.cpp
parent3bd8f83f6d412221e4673ceb90b8ca7fa74ff2f1 (diff)
ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding
Diffstat (limited to 'src/req.cpp')
-rw-r--r--src/req.cpp4
1 files changed, 2 insertions, 2 deletions
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_);