Skip to content

Commit

Permalink
correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
p-avital committed Nov 15, 2023
1 parent 8a025e1 commit e24fed7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions examples/z_pub.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ int main(int argc, char **argv) {

if (argc > 1) keyexpr = argv[1];
if (argc > 2) value = argv[2];

z_owned_config_t config = z_config_default();
if (argc > 3) {
if (zc_config_insert_json(z_loan(config), Z_CONFIG_CONNECT_KEY, argv[3]) < 0) {
Expand Down
1 change: 0 additions & 1 deletion examples/z_sub.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
//
#include <stdint.h>
#include <stdio.h>
#include <zenoh_macros.h>
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
#include <windows.h>
#define sleep(x) Sleep(x * 1000)
Expand Down

0 comments on commit e24fed7

Please sign in to comment.