Skip to content

Commit

Permalink
Update example.c
Browse files Browse the repository at this point in the history
  • Loading branch information
lucagiorgino committed Feb 2, 2023
1 parent 25fd86f commit 8fa22a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ void WAM_example_write_read() {
.tls = true};

// Write
fprintf(stdout, "WAM_write ...\n");
WAM_init_channel(&ch_send, 1, &testnet0tls, &k, &a);
WAM_write(&ch_send, my_msg, 6, false);
fprintf(stdout, "[CH-id=%d] Messages sent: %d (%d bytes)\n", ch_send.id, ch_send.sent_msg, ch_send.sent_bytes);
Expand Down

0 comments on commit 8fa22a5

Please sign in to comment.