diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-22 21:08:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-22 21:08:43 +0000 |
commit | 9c95f4ea09fa61fc193fc45873f76bf6fe6d93f3 (patch) | |
tree | c11ef2beef617c7f992fc447d3b017c9d8e667c6 /src/ats/ats_api_scheduling.c | |
parent | 0c19c26a8a2d5b05ed8fc8abfca49cce2005c9ef (diff) | |
download | gnunet-9c95f4ea09fa61fc193fc45873f76bf6fe6d93f3.tar.gz gnunet-9c95f4ea09fa61fc193fc45873f76bf6fe6d93f3.zip |
split structs for address adding and updating
Diffstat (limited to 'src/ats/ats_api_scheduling.c')
-rw-r--r-- | src/ats/ats_api_scheduling.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index 75ccd6b5b..1b729f75e 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c | |||
@@ -556,8 +556,8 @@ error_handler (void *cls, | |||
556 | 556 | ||
557 | 557 | ||
558 | /** | 558 | /** |
559 | * Generate the "AddressUpdateMessage" for the given | 559 | * Generate and transmit the `struct AddressAddMessage` for the given |
560 | * session record. | 560 | * address record. |
561 | * | 561 | * |
562 | * @param sh the scheduling handle to use for transmission | 562 | * @param sh the scheduling handle to use for transmission |
563 | * @param ar the address to inform the ATS service about | 563 | * @param ar the address to inform the ATS service about |
@@ -567,7 +567,7 @@ send_add_address_message (struct GNUNET_ATS_SchedulingHandle *sh, | |||
567 | const struct GNUNET_ATS_AddressRecord *ar) | 567 | const struct GNUNET_ATS_AddressRecord *ar) |
568 | { | 568 | { |
569 | struct GNUNET_MQ_Envelope *ev; | 569 | struct GNUNET_MQ_Envelope *ev; |
570 | struct AddressUpdateMessage *m; | 570 | struct AddressAddMessage *m; |
571 | struct GNUNET_ATS_Information *am; | 571 | struct GNUNET_ATS_Information *am; |
572 | char *pm; | 572 | char *pm; |
573 | size_t namelen; | 573 | size_t namelen; |