diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-05 22:47:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-05 22:47:42 +0000 |
commit | 1b20fc500d738afac1cc8960b4e533b94758e4c2 (patch) | |
tree | 9615ef49ed5e048b3788f0405849c04731713121 /nuttx/netutils/tftpc/tftpc_get.c | |
parent | 505e4b457e81471ed08cf847a248a7ad09b34860 (diff) | |
download | nuttx-1b20fc500d738afac1cc8960b4e533b94758e4c2.tar.gz nuttx-1b20fc500d738afac1cc8960b4e533b94758e4c2.tar.bz2 nuttx-1b20fc500d738afac1cc8960b4e533b94758e4c2.zip |
Added basic TFTP client support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@879 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/tftpc/tftpc_get.c')
-rw-r--r-- | nuttx/netutils/tftpc/tftpc_get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/netutils/tftpc/tftpc_get.c b/nuttx/netutils/tftpc/tftpc_get.c index dfbcef851..49c39a2cb 100644 --- a/nuttx/netutils/tftpc/tftpc_get.c +++ b/nuttx/netutils/tftpc/tftpc_get.c @@ -120,7 +120,7 @@ static inline int tftp_parsedatapacket(const ubyte *packet, *blockno = (uint16)packet[2] << 8 | (uint16)packet[3]; return OK; } -#if CONFIG_DEBUG +#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_NET) else if (*opcode == TFTP_ERR) { (void)tftp_parseerrpacket(packet); |