mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 22:02:32 -04:00
Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated. Some lines are wrong indented and produce mal formed code.
This commit is contained in:
parent
74aa55e347
commit
674b6de381
63 changed files with 379 additions and 346 deletions
|
@ -476,10 +476,10 @@ static int initLib = 0;
|
|||
|
||||
mOwnCert = new sslcert(x509, mOwnId);
|
||||
|
||||
// new locations don't store the name in the cert
|
||||
// if empty, use the external supplied value
|
||||
if(mOwnCert->location == "")
|
||||
mOwnCert->location = alternative_location_name;
|
||||
// New locations don't store the name in the cert.
|
||||
// If empty, use the external supplied value.
|
||||
if (mOwnCert->location == "")
|
||||
mOwnCert->location = alternative_location_name ;
|
||||
|
||||
std::cerr << "Inited SSL context: " << std::endl;
|
||||
std::cerr << " Certificate: " << mOwnId << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue