diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-12 18:01:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-12 18:01:25 +0000 |
commit | 101602413fe057426c1aed2eb8c9f97e84cbf040 (patch) | |
tree | eac0322d111158c9c833edc48af86094f26c1e1a /nuttx/netutils/telnetd/telnetd.c | |
parent | 40a989872556404606daa6f25ff8ea4df9ad169c (diff) | |
download | px4-nuttx-101602413fe057426c1aed2eb8c9f97e84cbf040.tar.gz px4-nuttx-101602413fe057426c1aed2eb8c9f97e84cbf040.tar.bz2 px4-nuttx-101602413fe057426c1aed2eb8c9f97e84cbf040.zip |
Misc fixes for ZDS compile/build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1451 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/telnetd/telnetd.c')
-rw-r--r-- | nuttx/netutils/telnetd/telnetd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/netutils/telnetd/telnetd.c b/nuttx/netutils/telnetd/telnetd.c index 84e692221..61f3dcda6 100644 --- a/nuttx/netutils/telnetd/telnetd.c +++ b/nuttx/netutils/telnetd/telnetd.c @@ -350,7 +350,6 @@ static void *telnetd_handler(void *arg) if (pstate) { - /* Initialize the thread state structure */ memset(pstate, 0, sizeof(struct telnetd_s)); @@ -389,7 +388,7 @@ static void *telnetd_handler(void *arg) dbg("[%d] Exitting\n", sockfd); close(sockfd); - pthread_exit(NULL); + return NULL; } /**************************************************************************** |