summaryrefslogtreecommitdiff
path: root/apps/examples/nxconsole/nxcon_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxconsole/nxcon_server.c')
-rw-r--r--apps/examples/nxconsole/nxcon_server.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/examples/nxconsole/nxcon_server.c b/apps/examples/nxconsole/nxcon_server.c
index 661479a4a..ccd000ec0 100644
--- a/apps/examples/nxconsole/nxcon_server.c
+++ b/apps/examples/nxconsole/nxcon_server.c
@@ -57,8 +57,6 @@
#include "nxcon_internal.h"
-#ifdef CONFIG_NX_MULTIUSER
-
/****************************************************************************
* Definitions
****************************************************************************/
@@ -176,7 +174,7 @@ FAR void *nxcon_listener(FAR void *arg)
*/
message("nxcon_listener: Lost server connection: %d\n", errno);
- exit(NXEXIT_LOSTSERVERCONN);
+ exit(EXIT_FAILURE);
}
/* If we received a message, we must be connected */
@@ -189,5 +187,3 @@ FAR void *nxcon_listener(FAR void *arg)
}
}
}
-
-#endif /* CONFIG_NX_MULTIUSER */