summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxmu/nx_disconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxmu/nx_disconnect.c')
-rw-r--r--nuttx/graphics/nxmu/nx_disconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxmu/nx_disconnect.c b/nuttx/graphics/nxmu/nx_disconnect.c
index 24fb114f4..f4711b005 100644
--- a/nuttx/graphics/nxmu/nx_disconnect.c
+++ b/nuttx/graphics/nxmu/nx_disconnect.c
@@ -94,7 +94,7 @@ void nx_disconnect(NXHANDLE handle)
/* Inform the server that this client no longer exists */
- msg.msgid = NX_SVRMSG_CONNECT;
+ msg.msgid = NX_SVRMSG_DISCONNECT;
msg.conn = conn;
ret = mq_send(conn->cwrmq, &msg, sizeof(struct nxsvrmsg_s), NX_SVRMSG_PRIO);