aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_extorport.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-15 21:27:23 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-15 21:27:23 -0400
commit0d654d23559b84961b88d5e13fc1393e0f8108bc (patch)
treec2bdc926e1acdc25d13e8c270bdf1a278f9332bd /src/test/test_extorport.c
parent1146a6a1c5e194cc05944622628188c82771a3d4 (diff)
downloadtor-0d654d23559b84961b88d5e13fc1393e0f8108bc.tar.gz
tor-0d654d23559b84961b88d5e13fc1393e0f8108bc.zip
Replace remaining uses of deprecated test_mem* functions
Diffstat (limited to 'src/test/test_extorport.c')
-rw-r--r--src/test/test_extorport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_extorport.c b/src/test/test_extorport.c
index 698bced7e5..35e7fe5ad9 100644
--- a/src/test/test_extorport.c
+++ b/src/test/test_extorport.c
@@ -406,7 +406,7 @@ handshake_start(or_connection_t *conn, int receiving)
tt_int_op(buf_datalen(TO_CONN(conn)->outbuf), ==, (n)); \
if ((n)) { \
fetch_from_buf(b, (n), TO_CONN(conn)->outbuf); \
- test_memeq(b, (s), (n)); \
+ tt_mem_op(b, ==, (s), (n)); \
} \
} while (0)