#include "globals.h"
#include "HttpReply.h"
#include "ipc/Messages.h"
-#include "ipc/UdsOp.h"
#include "ipc/TypedMsgHdr.h"
+#include "ipc/UdsOp.h"
#include "mgr/Filler.h"
#include "mgr/InfoAction.h"
#include "mgr/Request.h"
Mgr::InfoActionData::InfoActionData()
{
- xmemset(this, 0, sizeof(*this));
+ memset(this, 0, sizeof(*this));
}
Mgr::InfoActionData&
gb_saved_count += stats.gb_saved_count;
gb_freed_count += stats.gb_freed_count;
max_fd += stats.max_fd;
- biggest_fd += stats.biggest_fd;
+ biggest_fd = max(biggest_fd, stats.biggest_fd);
number_fd += stats.number_fd;
opening_fd += stats.opening_fd;
num_fd_free += stats.num_fd_free;
return new InfoAction(cmd);
}
-Mgr::InfoAction::InfoAction(const CommandPointer &cmd):
- Action(cmd), data()
+Mgr::InfoAction::InfoAction(const CommandPointer &aCmd):
+ Action(aCmd), data()
{
debugs(16, 5, HERE);
}