comparison OrthancFramework/Sources/DicomNetworking/Internals/GetScp.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
196 { 196 {
197 assert(response != NULL); 197 assert(response != NULL);
198 assert(responseIdentifiers != NULL); 198 assert(responseIdentifiers != NULL);
199 assert(requestIdentifiers != NULL); 199 assert(requestIdentifiers != NULL);
200 200
201 bzero(response, sizeof(T_DIMSE_C_GetRSP)); 201 memset(response, 0, sizeof(T_DIMSE_C_GetRSP));
202 *statusDetail = NULL; 202 *statusDetail = NULL;
203 *responseIdentifiers = NULL; 203 *responseIdentifiers = NULL;
204 204
205 GetScpData& data = *reinterpret_cast<GetScpData*>(callbackData); 205 GetScpData& data = *reinterpret_cast<GetScpData*>(callbackData);
206 if (data.lastRequest_ == NULL) 206 if (data.lastRequest_ == NULL)