- IEC 61850 client: fixed problems in ClientReportControlBlock_create (see github #134)

pull/179/head
Michael Zillgith 7 years ago
parent 93d8bfb19d
commit 0d2775742a

@ -212,7 +212,7 @@ ControlObjectClient_create(const char* objectReference, IedConnection connection
/* request control model from server */ /* request control model from server */
char reference[129]; char reference[129];
if (strlen(objectReference) < 121) { if (strlen(objectReference) < 120) {
strcpy(reference, objectReference); strcpy(reference, objectReference);
strcat(reference, ".ctlModel"); strcat(reference, ".ctlModel");
} }

Loading…
Cancel
Save