X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Ftest_case_optimal_pmtu_07%2Fnode_sim_nut.c;h=06332e4cb7a02c85203148b3253c1878f433e8c4;hb=feebc141462741d5d0270245d7e97624ddd0bdf8;hp=75194bb90425d9899eb374458546de093de09a4f;hpb=6717174046f62362e5a22998b40960f574120805;p=meshlink diff --git a/test/blackbox/test_case_optimal_pmtu_07/node_sim_nut.c b/test/blackbox/test_case_optimal_pmtu_07/node_sim_nut.c index 75194bb9..06332e4c 100644 --- a/test/blackbox/test_case_optimal_pmtu_07/node_sim_nut.c +++ b/test/blackbox/test_case_optimal_pmtu_07/node_sim_nut.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 @@ -208,7 +213,7 @@ void meshlink_logger(meshlink_handle_t *mesh, meshlink_log_level_t level, node_pmtu[i].mtu_discovery.count += 1; node_pmtu[i].mtu_size = mtu_len; - } else if(sscanf(text, "SPTPS key exchange with %s succesful", node_name) == 1) { + } else if(sscanf(text, "SPTPS key exchange with %s successful", node_name) == 1) { find_node_index(i, node_name); node_pmtu[i].mtu_start.time = cur_time; node_pmtu[i].mtu_start.count += 1;