aboutsummaryrefslogtreecommitdiff
path: root/src/ats/test_ats_api_update_address.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/test_ats_api_update_address.c')
-rw-r--r--src/ats/test_ats_api_update_address.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ats/test_ats_api_update_address.c b/src/ats/test_ats_api_update_address.c
index 54383c1d3..78011d492 100644
--- a/src/ats/test_ats_api_update_address.c
+++ b/src/ats/test_ats_api_update_address.c
@@ -73,7 +73,7 @@ struct AllocationRecord
73 /** 73 /**
74 * Performance information associated with this address (array). 74 * Performance information associated with this address (array).
75 */ 75 */
76 struct GNUNET_TRANSPORT_ATS_Information *ats; 76 struct GNUNET_ATS_Information *ats;
77 77
78 /** 78 /**
79 * Name of the plugin 79 * Name of the plugin
@@ -121,7 +121,7 @@ suggest_cb (void *cls, const struct GNUNET_PeerIdentity *peer,
121 const char *plugin_name, const void *plugin_addr, 121 const char *plugin_name, const void *plugin_addr,
122 size_t plugin_addr_len, struct Session *session, 122 size_t plugin_addr_len, struct Session *session,
123 struct GNUNET_BANDWIDTH_Value32NBO bandwidth, 123 struct GNUNET_BANDWIDTH_Value32NBO bandwidth,
124 const struct GNUNET_TRANSPORT_ATS_Information *ats, 124 const struct GNUNET_ATS_Information *ats,
125 uint32_t ats_count) 125 uint32_t ats_count)
126{ 126{
127 struct ExpectedValues *ex = cls; 127 struct ExpectedValues *ex = cls;
@@ -179,7 +179,7 @@ check (void *cls, char *const *args, const char *cfgfile,
179 ar->session = NULL; 179 ar->session = NULL;
180 ar->plugin_addr = "address1"; 180 ar->plugin_addr = "address1";
181 ar->plugin_addr_len = strlen (ar->plugin_addr) + 1; 181 ar->plugin_addr_len = strlen (ar->plugin_addr) + 1;
182 ar->ats = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_ATS_Information)); 182 ar->ats = GNUNET_malloc (sizeof (struct GNUNET_ATS_Information));
183 183
184 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Initial ATS information\n"); 184 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Initial ATS information\n");
185 ar->ats_count = 1; 185 ar->ats_count = 1;