diff options
| author | 2022-05-25 17:23:26 +0100 | |
|---|---|---|
| committer | 2022-05-25 17:23:26 +0100 | |
| commit | f6c6ce79287b70aa1c44c356a139a0a9961cedf8 (patch) | |
| tree | 69631eef6f656d6a5e3f34829269835aa5483c0b /src/modules/m_spanningtree/main.cpp | |
| parent | Begin to separate the output from the format in httpd_stats. (diff) | |
| parent | Fix some compiler warnings on i386. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index f186d3d02..f7089554f 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -304,7 +304,7 @@ void ModuleSpanningTree::DoConnectTimeout(time_t curtime) Utils->timeoutlist.erase(me); s->Close(); } - else if (curtime > s->age + p.second) + else if (curtime > s->age + (time_t)p.second) { ServerInstance->SNO.WriteToSnoMask('l',"CONNECT: Error connecting \002%s\002 (timeout of %u seconds)",p.first.c_str(),p.second); Utils->timeoutlist.erase(me); |
