Ticket #9728: httpstatus.diff

File httpstatus.diff, 1.2 KB (added by Doug Haber <doug@…>, 13 years ago)
  • mythtv/programs/mythbackend/httpstatus.cpp

    diff --git a/mythtv/programs/mythbackend/httpstatus.cpp b/mythtv/programs/mythbackend/httpstatus.cpp
    index c177f29..4e99d2c 100644
    a b int HttpStatus::PrintMachineInfo( QTextStream &os, QDomElement info ) 
    11501150    os << "      Disk Usage Details:<br />\r\n";
    11511151    os << "      <ul>\r\n";
    11521152
    1153 
    11541153    while (!node.isNull())
    11551154    {
    11561155        QDomElement g = node.toElement();
  • mythtv/programs/mythbackend/main_helpers.cpp

    diff --git a/mythtv/programs/mythbackend/main_helpers.cpp b/mythtv/programs/mythbackend/main_helpers.cpp
    index ada6a4a..51ee1af 100644
    a b int run_backend(const MythCommandLineParser &cmdline) 
    766766    if (pHS)
    767767    {
    768768        VERBOSE(VB_IMPORTANT, "Main::Registering HttpStatus Extension");
    769 
    770         pHS->RegisterExtension( new HttpStatus( &tvList, sched,
    771                                                 expirer, ismaster ));
     769        httpStatus = new HttpStatus( &tvList, sched,expirer, ismaster );
     770        pHS->RegisterExtension( httpStatus);
    772771    }
    773772
    774773    VERBOSE(VB_IMPORTANT, QString("Enabled verbose msgs: %1")