[rtmpdump] r116 - trunk/handshake.h

hyc subversion at mplayerhq.hu
Sun Dec 27 00:42:29 CET 2009


Author: hyc
Date: Sun Dec 27 00:42:28 2009
New Revision: 116

Log:
Fix typo in r114

Modified:
   trunk/handshake.h

Modified: trunk/handshake.h
==============================================================================
--- trunk/handshake.h	Sun Dec 27 00:37:45 2009	(r115)
+++ trunk/handshake.h	Sun Dec 27 00:42:28 2009	(r116)
@@ -302,7 +302,7 @@ HandShake(RTMP * r, bool FP9HandShake)
 
   /* generate random data */
 #ifdef _DEBUG
-  memset(clientsig+8, 0, RTMP_SIG_SIZE=8);
+  memset(clientsig+8, 0, RTMP_SIG_SIZE-8);
 #else
   ip = (int32_t *)(clientsig+8);
   for (i = 2; i < RTMP_SIG_SIZE/4; i++)


More information about the rtmpdump mailing list