summaryrefslogtreecommitdiff
path: root/nuttx/net/iob/iob_add_queue.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-22 16:25:26 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-22 16:25:26 -0600
commit5c3bf554649dd28f87039bb701a92ba3c768f5d4 (patch)
tree70ef55539e3c2c3d62dd534d178718fcd68f2c77 /nuttx/net/iob/iob_add_queue.c
parent811612f2294330eb76af73ab676c3a561a7b71c2 (diff)
downloadnuttx-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_add_queue.c')
-rw-r--r--nuttx/net/iob/iob_add_queue.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/net/iob/iob_add_queue.c b/nuttx/net/iob/iob_add_queue.c
index 8ecc556ea..f915b49a0 100644
--- a/nuttx/net/iob/iob_add_queue.c
+++ b/nuttx/net/iob/iob_add_queue.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 <assert.h>
#include <errno.h>
#include <debug.h>