diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-18 23:08:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-18 23:08:34 +0000 |
commit | 6cf694d2da5a661373a58c70e3d8e07cc8223eed (patch) | |
tree | 8c305f903a5334c3b7b2a48830c6f63199dedfda /nuttx/graphics | |
parent | f2307dd23f254c58cbc85bcf553ec583509a7082 (diff) | |
download | px4-nuttx-6cf694d2da5a661373a58c70e3d8e07cc8223eed.tar.gz px4-nuttx-6cf694d2da5a661373a58c70e3d8e07cc8223eed.tar.bz2 px4-nuttx-6cf694d2da5a661373a58c70e3d8e07cc8223eed.zip |
Final refactoring and implementation of delayed window deletion logic. Works worse now, but the changes are important and need to be checked in now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4747 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/nxmu/nx_disconnect.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/graphics/nxmu/nx_disconnect.c b/nuttx/graphics/nxmu/nx_disconnect.c index bbbf05251..48e1e9cc0 100644 --- a/nuttx/graphics/nxmu/nx_disconnect.c +++ b/nuttx/graphics/nxmu/nx_disconnect.c @@ -90,6 +90,7 @@ void nx_disconnect(NXHANDLE handle) { FAR struct nxfe_conn_s *conn = (FAR struct nxfe_conn_s *)handle; struct nxsvrmsg_s outmsg; + int ret; /* Inform the server that this client no longer exists */ @@ -98,6 +99,10 @@ void nx_disconnect(NXHANDLE handle) /* We will finish the teardown upon receipt of the DISCONNECTED message */ - return nxmu_sendserver(conn, &outmsg, sizeof(struct nxsvrmsg_s)); + ret = nxmu_sendserver(conn, &outmsg, sizeof(struct nxsvrmsg_s)); + if (ret < 0) + { + gdbg("ERROR: nxmu_sendserver() returned %d\n", ret); + } } |