]> granicus.if.org Git - rtmpdump/commitdiff
Fix auth encoding, partial revert of r12
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Sun, 15 Nov 2009 21:56:50 +0000 (21:56 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Sun, 15 Nov 2009 21:56:50 +0000 (21:56 +0000)
git-svn-id: svn://svn.mplayerhq.hu/rtmpdump@53 400ebc74-4327-4243-bc38-086b20814532

rtmp.cpp

index 557406e51166f06618fe059caa52b3a806b33d75..df83c0832fff065d4b55a7d3781cf318b144766e 100644 (file)
--- a/rtmp.cpp
+++ b/rtmp.cpp
@@ -766,8 +766,8 @@ bool CRTMP::SendConnectPacket()
   // add auth string
   if(Link.auth)
   {
-//     *enc = 0x01; enc++;
-//     *enc = 0x01; enc++;
+       *enc = 0x01; enc++;
+       *enc = 0x01; enc++;
 
        enc += EncodeString(enc, Link.auth);
   }