diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-05-01 16:40:22 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-05-01 16:40:22 +0200 |
commit | b22d8ea93321c3be05f3d28936d27cfbe56c86b3 (patch) | |
tree | f46522389f8a3c77dfbcb260a4cff9841f80bf0b | |
parent | bd1471bc08be28bc2554d35fdaeb078338b14266 (diff) |
m_httpd Fix iteration in OnUnloadModule()
-rw-r--r-- | src/modules/m_httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index aa83b120c..760647d47 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -409,7 +409,7 @@ class ModuleHttpServer : public Module void OnUnloadModule(Module* mod) { - for (insp::intrusive_list<HttpServerSocket>::const_iterator i = sockets.begin(); i != sockets.end(); ++i) + for (insp::intrusive_list<HttpServerSocket>::const_iterator i = sockets.begin(); i != sockets.end(); ) { HttpServerSocket* sock = *i; ++i; |