summaryrefslogtreecommitdiff
path: root/nuttx/graphics
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-29 18:14:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-29 18:14:40 +0000
commit84b25bdd924149bd8cf357f7e89504cfce1dee5f (patch)
tree1fb0be16feccf8923f1bbb1ebf063d61600d366a /nuttx/graphics
parent7b092a8491920f2f99ab6813362a971caae6d174 (diff)
downloadpx4-nuttx-84b25bdd924149bd8cf357f7e89504cfce1dee5f.tar.gz
px4-nuttx-84b25bdd924149bd8cf357f7e89504cfce1dee5f.tar.bz2
px4-nuttx-84b25bdd924149bd8cf357f7e89504cfce1dee5f.zip
Sending client message on wrong MQ
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1352 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics')
-rw-r--r--nuttx/graphics/nxmu/nxmu_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxmu/nxmu_server.c b/nuttx/graphics/nxmu/nxmu_server.c
index 352e56192..d9e7eb5a6 100644
--- a/nuttx/graphics/nxmu/nxmu_server.c
+++ b/nuttx/graphics/nxmu/nxmu_server.c
@@ -124,7 +124,7 @@ static inline void nxmu_connect(FAR struct nxfe_conn_s *conn)
/* Send the handshake message back to the client */
- ret = mq_send(conn->cwrmq, &outmsg, sizeof(struct nxclimsg_s), NX_CLIMSG_PRIO);
+ ret = mq_send(conn->swrmq, &outmsg, sizeof(struct nxclimsg_s), NX_CLIMSG_PRIO);
if (ret < 0)
{
gdbg("mq_send failed: %d\n", errno);