From 754c65724031dde5c2d09c8c0d78fcba5fef77d4 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Sat, 15 Jun 2024 22:03:55 +0200 Subject: [PATCH] Fix tests --- app/src/main/jni/tests/test_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/jni/tests/test_utils.h b/app/src/main/jni/tests/test_utils.h index 1d4353a70..57b682b34 100644 --- a/app/src/main/jni/tests/test_utils.h +++ b/app/src/main/jni/tests/test_utils.h @@ -52,7 +52,7 @@ void assert_pcap_header(pcap_hdr_t *hdr); u_char* next_pcap_record(pcap_rec_t *rec); // Callbacks -bool dump_cb_payload_chunk(pcapdroid_t *pd, const pkt_context_t *pctx, int dump_size); +bool dump_cb_payload_chunk(pcapdroid_t *pd, const pkt_context_t *pctx, const char *dump_data, int dump_size); conn_and_tuple_t* assert_conn(pcapdroid_t *pd, int ipproto, const char *dst_ip, uint16_t dst_port, const char *info);