diff OrthancServer/ServerIndex.cpp @ 375:d1ea72f1c967

major fix of storescu
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 16 Apr 2013 17:33:44 +0200
parents fc856d175d18
children 4d5f0857ec9c
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);
       }
     }