]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/test_case_optimal_pmtu_07/node_sim_nut.c
Ensure NDEBUG is not set in the test suite.
[meshlink] / test / blackbox / test_case_optimal_pmtu_07 / node_sim_nut.c
index 75194bb90425d9899eb374458546de093de09a4f..06332e4cb7a02c85203148b3253c1878f433e8c4 100644 (file)
     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 <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -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;