Remove extra object end tag in Connect reply
authorJoshua Allmann <joshua.allmann@gmail.com>
Fri, 24 Feb 2012 21:44:29 +0000 (13:44 -0800)
committerHoward Chu <hyc@highlandsun.com>
Fri, 24 Feb 2012 21:44:29 +0000 (13:44 -0800)
rtmpsrv.c

index b662d54e66bd42696a576f78d85065c8d0734850..9aa62f3c4e6e60e61cf1d8e2f80b46e33b94580a 100644 (file)
--- a/rtmpsrv.c
+++ b/rtmpsrv.c
@@ -223,9 +223,6 @@ SendConnectResult(RTMP *r, double txn)
   *enc++ = 0;
   *enc++ = 0;
   *enc++ = AMF_OBJECT_END;
-  *enc++ = 0;
-  *enc++ = 0;
-  *enc++ = AMF_OBJECT_END;
 
   packet.m_nBodySize = enc - packet.m_body;