Skip to content

Commit 94a2fd9

Browse files
committed
minor fix in tutorial
1 parent dc390de commit 94a2fd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/tutorials/c/integration_co_sim_io.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ int main()
180180
181181
// Here you may use the info but cannot call any CoSimIO function anymore
182182
CoSimIO_Info disconnect_settings=CoSimIO_CreateInfo();
183-
CoSimIO_Info_SetString(settings, "connection_name", connection_name); // connection_name is obtained from calling "Connect"
183+
CoSimIO_Info_SetString(disconnect_settings, "connection_name", connection_name); // connection_name is obtained from calling "Connect"
184184
CoSimIO_Info disconnect_info = CoSimIO_Disconnect(disconnect_settings); // disconnect afterwards
185185
if(CoSimIO_Info_GetInt(disconnect_info, "connection_status") != CoSimIO_Disconnected)
186186
return 1;

0 commit comments

Comments
 (0)