diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 10:32:54 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 10:32:54 -0600 |
commit | b756c4b51f51427339bf3649430f8470f64d7a8d (patch) | |
tree | 33df50ce9e2a880b0c892fd49e423bab8ed1d4a5 /apps/examples/cc3000 | |
parent | 40205b8ce91e12a08e7148670ca09eef74265843 (diff) | |
download | px4-nuttx-b756c4b51f51427339bf3649430f8470f64d7a8d.tar.gz px4-nuttx-b756c4b51f51427339bf3649430f8470f64d7a8d.tar.bz2 px4-nuttx-b756c4b51f51427339bf3649430f8470f64d7a8d.zip |
Fixes for more complaints from cppcheck
Diffstat (limited to 'apps/examples/cc3000')
-rw-r--r-- | apps/examples/cc3000/telnetd_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/cc3000/telnetd_daemon.c b/apps/examples/cc3000/telnetd_daemon.c index 223774190..4045bb38c 100644 --- a/apps/examples/cc3000/telnetd_daemon.c +++ b/apps/examples/cc3000/telnetd_daemon.c @@ -201,7 +201,7 @@ static int telnetd_daemon(int argc, char *argv[]) nllvdbg("Creating the telnet driver\n"); devpath = telnetd_driver(acceptsd, daemon); - if (devpath < 0) + if (devpath == NULL) { nlldbg("telnetd_driver failed\n"); goto errout_with_acceptsd; |