diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-03-14 15:39:14 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-03-25 16:35:34 -0400 |
commit | 3f0bfe1d29e571f1450286085e62246b01509b3b (patch) | |
tree | d32c8d157d26e13998e0f9b4d5e26df624b5409b /src/test/test_pubsub_msg.c | |
parent | 28fd4996aca0c560d4af0c035b53323951c13476 (diff) | |
download | tor-3f0bfe1d29e571f1450286085e62246b01509b3b.tar.gz tor-3f0bfe1d29e571f1450286085e62246b01509b3b.zip |
Rename DISPATCH_DEFINE_TYPE() to DISPATCH_REGISTER_TYPE()
Also fix a grammar error in a comment.
Diffstat (limited to 'src/test/test_pubsub_msg.c')
-rw-r--r-- | src/test/test_pubsub_msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_pubsub_msg.c b/src/test/test_pubsub_msg.c index 41a8a25ad6..73c7c9f540 100644 --- a/src/test/test_pubsub_msg.c +++ b/src/test/test_pubsub_msg.c @@ -103,7 +103,7 @@ setup_dispatcher(const struct testcase_t *testcase) { con = pubsub_connector_for_subsystem(builder, get_subsys_id("types")); - pubsub_connector_define_type_(con, + pubsub_connector_register_type_(con, get_msg_type_id("string"), &stringfns, "nowhere.c", 99); |