comparison OrthancFramework/Sources/DicomNetworking/Internals/FindScp.cpp @ 5072:b23a4bb18065

replaced bzero() by memset()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Aug 2022 22:13:39 +0200
parents 6fed78e13233
children 0ea402b4d901
comparison
equal deleted inserted replaced
5071:8fbe84997e23 5072:b23a4bb18065
200 DcmDataset **statusDetail) 200 DcmDataset **statusDetail)
201 { 201 {
202 assert(response != NULL); 202 assert(response != NULL);
203 assert(requestIdentifiers != NULL); 203 assert(requestIdentifiers != NULL);
204 204
205 bzero(response, sizeof(T_DIMSE_C_FindRSP)); 205 memset(response, 0, sizeof(T_DIMSE_C_FindRSP));
206 *statusDetail = NULL; 206 *statusDetail = NULL;
207 207
208 std::string sopClassUid(request->AffectedSOPClassUID); 208 std::string sopClassUid(request->AffectedSOPClassUID);
209 209
210 FindScpData& data = *reinterpret_cast<FindScpData*>(callbackData); 210 FindScpData& data = *reinterpret_cast<FindScpData*>(callbackData);