changeset 375:d1ea72f1c967

major fix of storescu
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 16 Apr 2013 17:33:44 +0200
parents 42e87c17cab8
children 2cef9c2d4148
files OrthancServer/ServerIndex.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp	Mon Apr 15 17:00:26 2013 +0200
+++ b/OrthancServer/ServerIndex.cpp	Tue Apr 16 17:33:44 2013 +0200
@@ -785,7 +785,8 @@
       // the current resource
       if (!done)
       {
-        assert(db_->LookupParent(currentId, currentId));
+        bool ok = db_->LookupParent(currentId, currentId);
+        assert(ok);
       }
     }