summaryrefslogtreecommitdiff
path: root/src/rep.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/rep.cpp
parent3bd8f83f6d412221e4673ceb90b8ca7fa74ff2f1 (diff)
ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding
Diffstat (limited to 'src/rep.cpp')
-rw-r--r--src/rep.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rep.cpp b/src/rep.cpp
index 7ebbc6d..137c735 100644
--- a/src/rep.cpp
+++ b/src/rep.cpp
@@ -134,7 +134,7 @@ int zmq::rep_t::xsetsockopt (int option_, const void *optval_,
return -1;
}
-int zmq::rep_t::xsend (struct zmq_msg_t *msg_, int flags_)
+int zmq::rep_t::xsend (zmq_msg_t *msg_, int flags_)
{
if (!waiting_for_reply) {
errno = EFSM;
@@ -165,7 +165,7 @@ int zmq::rep_t::xflush ()
return -1;
}
-int zmq::rep_t::xrecv (struct zmq_msg_t *msg_, int flags_)
+int zmq::rep_t::xrecv (zmq_msg_t *msg_, int flags_)
{
// Deallocate old content of the message.
zmq_msg_close (msg_);