Permalink
Browse files

Initialize m_bProtected in HTTPRequest ctor

m_bProtected will be set to the appropriate value
when the header is fully received.

Fixes coverity 700944

Fixes #11621.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
  • Loading branch information...
garybuhrmaster authored and Paul Harrison committed Jul 1, 2013
1 parent 351c36a commit 386819e0142a2aacab1f229a0a23b6e7e0db266d
Showing with 1 addition and 0 deletions.
  1. +1 −0 mythtv/libs/libmythupnp/httprequest.cpp
@@ -133,6 +133,7 @@ HTTPRequest::HTTPRequest() : m_procReqLineExp ( "[ \r\n][ \r\n]*" ),
m_eContentType ( ContentType_Unknown),
m_nMajor ( 0 ),
m_nMinor ( 0 ),
m_bProtected ( false ),
m_bSOAPRequest ( false ),
m_eResponseType ( ResponseTypeUnknown),
m_nResponseStatus( 200 ),

0 comments on commit 386819e

Please sign in to comment.