From e540c0e0e74ca276c383053064785763c63a047a Mon Sep 17 00:00:00 2001
From: dec05eba <dec05eba@protonmail.com>
Date: Sat, 2 Jun 2018 15:42:48 +0200
Subject: Update odhtdb url to gitlab

---
 .gitmodules    | 2 +-
 depends/odhtdb | 2 +-
 src/Cache.cpp  | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index 4d7ad9f..8fd227f 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
 [submodule "depends/odhtdb"]
 	path = depends/odhtdb
-	url = https://github.com/DEC05EBA/odhtdb.git
+	url = https://gitlab.com/DEC05EBA/odhtdb.git
diff --git a/depends/odhtdb b/depends/odhtdb
index 9921c31..92217f9 160000
--- a/depends/odhtdb
+++ b/depends/odhtdb
@@ -1 +1 @@
-Subproject commit 9921c31990255d16a87e7b8155167e3733436904
+Subproject commit 92217f9654284d2b3db4c4e17c154658a2125458
diff --git a/src/Cache.cpp b/src/Cache.cpp
index ae07f9d..2a09591 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -293,7 +293,8 @@ namespace dchat
                                 break;
                             }
                             default:
-                                break;
+                                ++it;
+                                continue;
                         }
                         it = contentUrlCache.erase(it);
                     }
-- 
cgit v1.2.3