Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/src/cip/appcontype.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ CipConnectionObject *GetExclusiveOwnerConnection(
/* check if on other connection point with the same output assembly is currently connected */
const CipConnectionObject *const exclusive_owner =
GetConnectedOutputAssembly(
connection_object->produced_path.instance_id);
connection_object->consumed_path.instance_id);
if ( NULL
!= exclusive_owner ) {
if(kConnectionObjectStateEstablished ==
Expand Down
2 changes: 1 addition & 1 deletion source/src/cip/cipconnectionmanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ CipConnectionObject *GetConnectedOutputAssembly(
|| kConnectionObjectStateTimedOut ==
ConnectionObjectGetState(iterator->data) )
&& output_assembly_id ==
( (CipConnectionObject *) iterator->data )->produced_path.instance_id) {
( (CipConnectionObject *) iterator->data )->consumed_path.instance_id) {
return iterator->data;
}
iterator = iterator->next;
Expand Down
Loading