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

replaced bzero() by memset()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Aug 2022 22:13:39 +0200
parents 43e613a7756b
children 0ea402b4d901
comparison
equal deleted inserted replaced
5071:8fbe84997e23 5072:b23a4bb18065
160 DcmDataset **statusDetail) 160 DcmDataset **statusDetail)
161 { 161 {
162 assert(response != NULL); 162 assert(response != NULL);
163 assert(requestIdentifiers != NULL); 163 assert(requestIdentifiers != NULL);
164 164
165 bzero(response, sizeof(T_DIMSE_C_MoveRSP)); 165 memset(response, 0, sizeof(T_DIMSE_C_MoveRSP));
166 *statusDetail = NULL; 166 *statusDetail = NULL;
167 *responseIdentifiers = NULL; 167 *responseIdentifiers = NULL;
168 168
169 MoveScpData& data = *reinterpret_cast<MoveScpData*>(callbackData); 169 MoveScpData& data = *reinterpret_cast<MoveScpData*>(callbackData);
170 if (data.lastRequest_ == NULL) 170 if (data.lastRequest_ == NULL)