Description: Fix build with dcmtk 3.6.4
Author: Gert Wollny <gewo@debian.org>
diff -ru aeskulap/imagepool/poolassociation.cpp aeskulap-0.2.2b1+git20161206/imagepool/poolassociation.cpp
--- aeskulap/imagepool/poolassociation.cpp	2018-01-07 14:16:32.988580277 +0100
+++ aeskulap-0.2.2b1+git20161206/imagepool/poolassociation.cpp	2019-01-13 12:19:45.407822113 +0100
@@ -111,7 +111,7 @@
 	T_DIMSE_C_StoreRSP rsp;
 
 	// check if we SOPClass and SOPInstance in dataset
-	if (!DU_findSOPClassAndInstanceInDataSet(dataset, sopClass, sopInstance))
+	if (!DU_findSOPClassAndInstanceInDataSet(dataset, sopClass, strlen(sopClass), sopInstance, strlen(sopInstance)))
 	{
 		return DIMSE_BADDATA;
 	}
diff -ru aeskulap/imagepool/poolfindassociation.cpp aeskulap-0.2.2b1+git20161206/imagepool/poolfindassociation.cpp
--- aeskulap/imagepool/poolfindassociation.cpp	2018-01-07 14:16:32.988580277 +0100
+++ aeskulap-0.2.2b1+git20161206/imagepool/poolfindassociation.cpp	2019-01-13 12:21:01.563821184 +0100
@@ -56,8 +56,10 @@
 	req.DataSetType = DIMSE_DATASET_PRESENT;
 	req.Priority = DIMSE_PRIORITY_LOW;
 	strcpy(req.AffectedSOPClassUID, m_abstractSyntax);
-
-	cond = DIMSE_findUser(assoc, presId, &req, query, 
+	int response_count = 0;
+	
+	cond = DIMSE_findUser(assoc, presId, &req, query,
+			      response_count,
 			findCallback, (void*)this, 
 			(m_timeout == 0) ? DIMSE_BLOCKING : DIMSE_NONBLOCKING,
 			m_timeout, 
diff -ru aeskulap/imagepool/poolmoveassociation.cpp aeskulap-0.2.2b1+git20161206/imagepool/poolmoveassociation.cpp
--- aeskulap/imagepool/poolmoveassociation.cpp	2019-01-13 12:23:36.991819287 +0100
+++ aeskulap-0.2.2b1+git20161206/imagepool/poolmoveassociation.cpp	2019-01-13 12:22:00.551820464 +0100
@@ -306,7 +306,8 @@
 		*/
 		if (rsp->DimseStatus == STATUS_Success) {
 			/* which SOP class and SOP instance ? */
-			if (! DU_findSOPClassAndInstanceInDataSet(cbdata->dataset, sopClass, sopInstance)) {
+		  if (! DU_findSOPClassAndInstanceInDataSet(cbdata->dataset, sopClass,strlen(sopClass),
+							    sopInstance, strlen(sopInstance))) {
 				rsp->DimseStatus = STATUS_STORE_Error_CannotUnderstand;
 			}
 			else if (strcmp(sopClass, req->AffectedSOPClassUID) != 0) {
