Ticket #5026: SimplifyCode.patch

File SimplifyCode.patch, 491 bytes (added by eyebex, 15 years ago)
  • Server.cpp

     
    13491349        if (pos < 1 && !ssl && m_pOptions && m_pOptions->GetOptionVal(OPTION_ENABLESSL))
    13501350        {
    13511351            // Now create the ssl ports
    1352             ports = (m_pOptions ? m_pOptions->GetOption(OPTION_SSLPORTS) : _T("990"));
     1352            ports = m_pOptions->GetOption(OPTION_SSLPORTS);
    13531353            ports += _T(" ");
    13541354            pos = ports.Find(' ');
    13551355            ssl = true;