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>
if(time_stamp >= send_time) {
send_time = time_stamp + 10;
- meshlink_channel_send(mesh, channel, "ping", 5);
+ assert(meshlink_channel_send(mesh, channel, "ping", 5) == 5);
}
}
}