diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-18 12:23:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-18 12:23:11 +0000 |
commit | b9f0a213392bc93ab1d86f1b8b4df80357bd04ae (patch) | |
tree | 4bb62c660df4cb6f08281e5dfb88b236fa22b6e3 /src/ats/gnunet-service-ats_scheduling.c | |
parent | d9e72f536edc429a375957bcbcc9cc9603ce965b (diff) | |
download | gnunet-b9f0a213392bc93ab1d86f1b8b4df80357bd04ae.tar.gz gnunet-b9f0a213392bc93ab1d86f1b8b4df80357bd04ae.zip |
-indentation, doxygen
Diffstat (limited to 'src/ats/gnunet-service-ats_scheduling.c')
-rw-r--r-- | src/ats/gnunet-service-ats_scheduling.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats_scheduling.c b/src/ats/gnunet-service-ats_scheduling.c index 85ca6c461..4b346d992 100644 --- a/src/ats/gnunet-service-ats_scheduling.c +++ b/src/ats/gnunet-service-ats_scheduling.c | |||
@@ -482,7 +482,7 @@ GAS_handle_address_destroyed (void *cls, | |||
482 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); | 482 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); |
483 | return; | 483 | return; |
484 | } | 484 | } |
485 | if ((plugin_name_length == 0) || | 485 | if ((0 == plugin_name_length) || |
486 | (plugin_name[plugin_name_length - 1] != '\0')) | 486 | (plugin_name[plugin_name_length - 1] != '\0')) |
487 | { | 487 | { |
488 | GNUNET_break (0); | 488 | GNUNET_break (0); |
@@ -493,7 +493,9 @@ GAS_handle_address_destroyed (void *cls, | |||
493 | "# addresses destroyed", | 493 | "# addresses destroyed", |
494 | 1, | 494 | 1, |
495 | GNUNET_NO); | 495 | GNUNET_NO); |
496 | GAS_addresses_destroy (address_handle, &m->peer, plugin_name, | 496 | GAS_addresses_destroy (address_handle, |
497 | &m->peer, | ||
498 | plugin_name, | ||
497 | address, address_length, | 499 | address, address_length, |
498 | ntohl (m->address_local_info), | 500 | ntohl (m->address_local_info), |
499 | ntohl (m->session_id)); | 501 | ntohl (m->session_id)); |