Search'n'replace remaining NULL occurrences (#816)

This commit is contained in:
J-P Nurmi
2015-02-26 20:58:01 +01:00
parent 832cec45f8
commit 75b210e841
46 changed files with 237 additions and 237 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ public:
void Cleanup() {
Limits::iterator it;
time_t now = time(NULL);
time_t now = time(nullptr);
for (it = m_chans.begin(); it != m_chans.end(); ++it) {
// The timeout for this channel did not expire yet?
@@ -106,7 +106,7 @@ public:
void Message(CChan& Channel) {
Limits::iterator it;
time_t now = time(NULL);
time_t now = time(nullptr);
// First: Clean up old entries and reattach where necessary
Cleanup();