Skip to content

Commit

Permalink
- added missing case in CS 104 client examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mzillgith committed Dec 29, 2022
1 parent a2fbe7a commit ddde067
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib60870-C/examples/cs104_client/simple_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ connectionHandler (void* parameter, CS104_Connection connection, CS104_Connectio
case CS104_CONNECTION_CLOSED:
printf("Connection closed\n");
break;
case CS104_CONNECTION_FAILED:
printf("Failed to connect\n");
break;
case CS104_CONNECTION_STARTDT_CON_RECEIVED:
printf("Received STARTDT_CON\n");
break;
Expand Down
3 changes: 3 additions & 0 deletions lib60870-C/examples/tls_client/tls_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ connectionHandler (void* parameter, CS104_Connection connection, CS104_Connectio
case CS104_CONNECTION_CLOSED:
printf("Connection closed\n");
break;
case CS104_CONNECTION_FAILED:
printf("Failed to connect\n");
break;
case CS104_CONNECTION_STARTDT_CON_RECEIVED:
printf("Received STARTDT_CON\n");
break;
Expand Down

0 comments on commit ddde067

Please sign in to comment.