mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 09:49:00 +08:00
23 lines
614 B
Diff
23 lines
614 B
Diff
|
diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
|
||
|
index f152648..0bf3f7d 100644
|
||
|
--- a/librtmp/rtmp.c
|
||
|
+++ b/librtmp/rtmp.c
|
||
|
@@ -1316,7 +1316,7 @@ ReadN(RTMP *r, char *buffer, int n)
|
||
|
SendBytesReceived(r);
|
||
|
}
|
||
|
/*RTMP_Log(RTMP_LOGDEBUG, "%s: %d bytes\n", __FUNCTION__, nBytes); */
|
||
|
-#ifdef _DEBUG
|
||
|
+#if defined(_DEBUG) && !defined(LIBRTMP_ONLY)
|
||
|
fwrite(ptr, 1, nBytes, netstackdump_read);
|
||
|
#endif
|
||
|
|
||
|
@@ -3527,7 +3527,7 @@ RTMPSockBuf_Send(RTMPSockBuf *sb, const char *buf, int len)
|
||
|
{
|
||
|
int rc;
|
||
|
|
||
|
-#ifdef _DEBUG
|
||
|
+#if defined(_DEBUG) && !defined(LIBRTMP_ONLY)
|
||
|
fwrite(buf, 1, len, netstackdump);
|
||
|
#endif
|
||
|
|