diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2022-02-10 22:25:37 +0000 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2022-02-10 22:25:37 +0000 |
commit | 88e2f8e385614432d8499a4fb37f0d361cca30d6 (patch) | |
tree | 490ae64df0a82f2b6fffe97a68d28120dda860d1 | |
parent | 630d673c143dc57d92f8c28888eb136927f6825d (diff) | |
parent | 4399c89852c1981e539714cc6f592648e7088de6 (diff) | |
download | slirp-88e2f8e385614432d8499a4fb37f0d361cca30d6.zip slirp-88e2f8e385614432d8499a4fb37f0d361cca30d6.tar.gz slirp-88e2f8e385614432d8499a4fb37f0d361cca30d6.tar.bz2 |
Merge branch 'debug-fix' into 'master'
mbuf: Use SLIRP_DEBUG to enable mbuf debugging instead of DEBUG
See merge request slirp/libslirp!114
-rw-r--r-- | src/mbuf.h | 2 | ||||
-rw-r--r-- | src/socket.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -134,7 +134,7 @@ static inline void ifs_init(struct mbuf *ifm) ifm->ifs_next = ifm->ifs_prev = ifm; } -#ifdef DEBUG +#ifdef SLIRP_DEBUG # define MBUF_DEBUG 1 #else # ifdef HAVE_VALGRIND diff --git a/src/socket.c b/src/socket.c index 3859919..f7af028 100644 --- a/src/socket.c +++ b/src/socket.c @@ -375,7 +375,7 @@ int sosendoob(struct socket *so) len += n; } n = slirp_send(so, buff, len, (MSG_OOB)); /* |MSG_DONTWAIT)); */ -#ifdef DEBUG +#ifdef SLIRP_DEBUG if (n != len) { DEBUG_ERROR("Didn't send all data urgently XXXXX"); } |