Commit e1860fb7 authored by jan.koester's avatar jan.koester
Browse files

test

parent df31cf4e
Loading
Loading
Loading
Loading
+6 −6
Changes for plugins/nodeinfo/nodeinfo.cpp: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -141,14 +141,14 @@ namespace blogi {
            char hostname[255];

            if(gethostname(hostname,255)==0){
                htmltable << libhtmlpp::HtmlTable::Row() << "Hostname: " << hostname;
                htmltable << (libhtmlpp::HtmlTable::Row() << "Hostname: " << hostname);
            }

            /*create table rows*/
            htmltable << libhtmlpp::HtmlTable::Row() << "Operating system:" << (sysicohtml << usysinfo.sysname);
            htmltable << libhtmlpp::HtmlTable::Row() << "Release Version :" << usysinfo.release;
            htmltable << libhtmlpp::HtmlTable::Row() << "Hardware        :" << usysinfo.machine;
            htmltable << libhtmlpp::HtmlTable::Row() <<  _DistName << _DistEntry;
            htmltable << (libhtmlpp::HtmlTable::Row() << "Operating system:" << (sysicohtml << usysinfo.sysname));
            htmltable << (libhtmlpp::HtmlTable::Row() << "Release Version :" << usysinfo.release);
            htmltable << (libhtmlpp::HtmlTable::Row() << "Hardware        :" << usysinfo.machine);
            htmltable << (libhtmlpp::HtmlTable::Row() <<  _DistName << _DistEntry);
#else
            OSVERSIONINFOW info;
            memset(&info, 0, sizeof(OSVERSIONINFOW));
@@ -175,7 +175,7 @@ namespace blogi {
            if((psize=sysconf(_SC_PAGESIZE))>0){
                char ab[512];
                snprintf(ab,512,"%ld/%ld MB",(sysconf(_SC_AVPHYS_PAGES)*psize)/(1048576),((sysconf(_SC_PHYS_PAGES)*psize)/1048576));
                htmltable << libhtmlpp::HtmlTable::Row() << "Arbeitspeicher: " <<  ab;
                htmltable << (libhtmlpp::HtmlTable::Row() << "Arbeitspeicher: " <<  ab);
            }
#endif

+1 −1
Changes for src/cookie.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ void blogi::print(dbpp::Database &db,const std::string &curl,libhtmlpp::HtmlElem
             input << "onclick=\"return false;\"";
        }
        input << " checked=\"\" type=\"checkbox\">";
        ctable << libhtmlpp::HtmlTable::Row() << input << res[i][2];
        ctable << (libhtmlpp::HtmlTable::Row() << input << res[i][2]);
   }

  ctable.insert(&cookset);