From: hyc Date: Sun, 15 Nov 2009 21:56:50 +0000 (+0000) Subject: Fix auth encoding, partial revert of r12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa1e713b506bcbbbfa3e0f5b8c52a05c3c37e2eb;p=rtmpdump Fix auth encoding, partial revert of r12 git-svn-id: svn://svn.mplayerhq.hu/rtmpdump@53 400ebc74-4327-4243-bc38-086b20814532 --- diff --git a/rtmp.cpp b/rtmp.cpp index 557406e..df83c08 100644 --- 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); }