[rtmpdump] [PATCH 1/3] Fix a log message
Martin Storsjo
martin at martin.st
Mon Nov 14 13:29:17 CET 2011
The missing parameter for %s could cause crashes.
---
librtmp/rtmp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
index a9c1bc1..4da318b 100644
--- a/librtmp/rtmp.c
+++ b/librtmp/rtmp.c
@@ -974,7 +974,7 @@ SocksNegotiate(RTMP *r)
}
else
{
- RTMP_Log(RTMP_LOGERROR, "%s, SOCKS returned error code %d", packet[1]);
+ RTMP_Log(RTMP_LOGERROR, "%s, SOCKS returned error code %d", __FUNCTION__, packet[1]);
return FALSE;
}
}
--
1.7.3.1
More information about the rtmpdump
mailing list