X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Ftest_case_channel_conn_07%2Fnode_sim_peer.c;h=19c96f884fcae399a559b26e90621dd808ce2a31;hb=4c57e6902219ecca1872e18e34365d8e54a0f407;hp=ae8dadcc2bb22a4f68d7ce6aa028e3d14a8e0036;hpb=de40dd736a1b048e5e0f856184f832fa4db184d3;p=meshlink diff --git a/test/blackbox/test_case_channel_conn_07/node_sim_peer.c b/test/blackbox/test_case_channel_conn_07/node_sim_peer.c index ae8dadcc..19c96f88 100644 --- a/test/blackbox/test_case_channel_conn_07/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_07/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include @@ -72,8 +77,9 @@ static void channel_receive_cb(meshlink_handle_t *mesh, meshlink_channel_t *chan } int main(int argc, char *argv[]) { + (void)argc; + struct timeval main_loop_wait = { 2, 0 }; - struct timespec timeout = {0}; // Import mesh event handler