merged cpu and mem sensors code
[psensor.git] / src / server / server.c
index e0f69bb..4e89100 100644 (file)
@@ -39,7 +39,7 @@
 
 #ifdef HAVE_GTOP
 #include "sysinfo.h"
-#include "cpu.h"
+#include <pgtop2.h>
 #endif
 
 #include <plog.h>
@@ -458,7 +458,6 @@ int main(int argc, char *argv[])
 
 #ifdef HAVE_GTOP
        sysinfo_cleanup();
-       cpu_cleanup();
 #endif
 
        if (log_file != DEFAULT_LOG_FILE)