summaryrefslogtreecommitdiff
path: root/nuttx/examples/nettest/host.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-16 18:48:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-16 18:48:39 +0000
commit66fa9eb830939b33a268b24573f9fdf59850dac5 (patch)
treef520073b0832172588d8021184f8833548e08d5b /nuttx/examples/nettest/host.c
parentd6100fb0fad57df531e0774793d188e899943852 (diff)
downloadpx4-nuttx-66fa9eb830939b33a268b24573f9fdf59850dac5.tar.gz
px4-nuttx-66fa9eb830939b33a268b24573f9fdf59850dac5.tar.bz2
px4-nuttx-66fa9eb830939b33a268b24573f9fdf59850dac5.zip
Basic server functionality: listen(), accept()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@382 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nettest/host.c')
-rw-r--r--nuttx/examples/nettest/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/nettest/host.c b/nuttx/examples/nettest/host.c
index 0d59b1abf..8b0bffd7d 100644
--- a/nuttx/examples/nettest/host.c
+++ b/nuttx/examples/nettest/host.c
@@ -53,7 +53,7 @@
int main(int argc, char **argv, char **envp)
{
-#ifdef CONFIG_NETTEST_SERVER
+#ifdef CONFIG_EXAMPLE_NETTEST_SERVER
send_client();
#else
recv_server();