aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_unreliability.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-02-02 17:38:22 +0000
committerChristian Grothoff <christian@grothoff.org>2014-02-02 17:38:22 +0000
commit769c3e9561ea577ca167c74286a5cd092510a5cb (patch)
tree89c8ad4c414a61da8818b081889916ad0e06abaf /src/transport/test_transport_api_unreliability.c
parentfdf369790b040af2ab491e80dab8eb1bb95151a2 (diff)
downloadgnunet-769c3e9561ea577ca167c74286a5cd092510a5cb.tar.gz
gnunet-769c3e9561ea577ca167c74286a5cd092510a5cb.zip
removing depreated 'priority' argument from GNUNET_TRANSPORT_notify_transmit_ready
Diffstat (limited to 'src/transport/test_transport_api_unreliability.c')
-rw-r--r--src/transport/test_transport_api_unreliability.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c
index 153a88685..3f40a7179 100644
--- a/src/transport/test_transport_api_unreliability.c
+++ b/src/transport/test_transport_api_unreliability.c
@@ -412,7 +412,7 @@ notify_ready (void *cls, size_t size, void *buf)
412 while ((size - ret >= s) && (n < TOTAL_MSGS)); 412 while ((size - ret >= s) && (n < TOTAL_MSGS));
413 if (n < TOTAL_MSGS) 413 if (n < TOTAL_MSGS)
414 { 414 {
415 th = GNUNET_TRANSPORT_notify_transmit_ready (p2->th, &p1->id, s, 0, 415 th = GNUNET_TRANSPORT_notify_transmit_ready (p2->th, &p1->id, s,
416 TIMEOUT_TRANSMIT, 416 TIMEOUT_TRANSMIT,
417 &notify_ready, NULL); 417 &notify_ready, NULL);
418 msg_scheduled = n; 418 msg_scheduled = n;
@@ -460,7 +460,7 @@ sendtask ()
460 start_time = GNUNET_TIME_absolute_get (); 460 start_time = GNUNET_TIME_absolute_get ();
461 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting to send %u messages\n", 461 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting to send %u messages\n",
462 TOTAL_MSGS); 462 TOTAL_MSGS);
463 th = GNUNET_TRANSPORT_notify_transmit_ready (p2->th, &p1->id, get_size (0), 0, 463 th = GNUNET_TRANSPORT_notify_transmit_ready (p2->th, &p1->id, get_size (0),
464 TIMEOUT_TRANSMIT, &notify_ready, 464 TIMEOUT_TRANSMIT, &notify_ready,
465 NULL); 465 NULL);
466} 466}