diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-22 16:25:26 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-22 16:25:26 -0600 |
commit | 5c3bf554649dd28f87039bb701a92ba3c768f5d4 (patch) | |
tree | 70ef55539e3c2c3d62dd534d178718fcd68f2c77 /nuttx/net/iob/iob_free.c | |
parent | 811612f2294330eb76af73ab676c3a561a7b71c2 (diff) | |
download | nuttx-5c3bf554649dd28f87039bb701a92ba3c768f5d4.tar.gz nuttx-5c3bf554649dd28f87039bb701a92ba3c768f5d4.tar.bz2 nuttx-5c3bf554649dd28f87039bb701a92ba3c768f5d4.zip |
TCP write buffering: Fix an error in the trim logic
Diffstat (limited to 'nuttx/net/iob/iob_free.c')
-rw-r--r-- | nuttx/net/iob/iob_free.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/net/iob/iob_free.c b/nuttx/net/iob/iob_free.c index e2c95aae0..511c6438f 100644 --- a/nuttx/net/iob/iob_free.c +++ b/nuttx/net/iob/iob_free.c @@ -39,6 +39,13 @@ #include <nuttx/config.h> +#if defined(CONFIG_DEBUG) && defined(CONFIG_NET_IOB_DEBUG) +/* Force debug output (from this file only) */ + +# undef CONFIG_DEBUG_NET +# define CONFIG_DEBUG_NET 1 +#endif + #include <semaphore.h> #include <assert.h> |