aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-15 12:09:52 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-15 12:09:52 +0000
commitcfa835b8d20715cea4343fd3e1bba93507c266ba (patch)
tree615db73327bf7c44ed82c8bb8533829d8af010d8
parent170cc3d45e511c094936a62cde20830bdba13db3 (diff)
downloadgnunet-cfa835b8d20715cea4343fd3e1bba93507c266ba.tar.gz
gnunet-cfa835b8d20715cea4343fd3e1bba93507c266ba.zip
fix
-rw-r--r--src/transport/test_transport_ats_multiple_peers.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/transport/test_transport_ats_multiple_peers.c b/src/transport/test_transport_ats_multiple_peers.c
index 36b9df709..d98fc12cf 100644
--- a/src/transport/test_transport_ats_multiple_peers.c
+++ b/src/transport/test_transport_ats_multiple_peers.c
@@ -567,11 +567,13 @@ send_dummy_data_task (void *cls, size_t size, void *buf)
567 hdr.header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_ATS); 567 hdr.header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_ATS);
568 if (force_rebuild) 568 if (force_rebuild)
569 hdr.num = htonl (1); 569 hdr.num = htonl (1);
570 if (force_q_updates) 570 else if (force_q_updates)
571 hdr.num = htonl (2); 571 hdr.num = htonl (2);
572 memcpy (buf,&hdr, s); 572 else
573 hdr.num = htonl (0);
574 memcpy (buf, &hdr, s);
573 // GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Sent bytes: %i of %i\n", s, s); 575 // GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Sent bytes: %i of %i\n", s, s);
574 t = NULL; 576 t = NULL;
575 return s; 577 return s;
576} 578}
577 579