diff options
author | ulfvonbelow <strilen@tilde.club> | 2023-01-29 10:22:14 -0600 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-02-06 13:51:05 +0900 |
commit | fa423b69af7c64f83790d7ca8990dc8532217baf (patch) | |
tree | a711b421e62d3da90f6d94e9730b85d704c64218 | |
parent | a3cc7ff4796e32ddfa13f22307877d4f52a7cd58 (diff) | |
download | gnunet-fa423b69af7c64f83790d7ca8990dc8532217baf.tar.gz gnunet-fa423b69af7c64f83790d7ca8990dc8532217baf.zip |
-Miscellaneous mostly-comment typo fixes.
The message in src/testbed/testbed_api_hosts.c was phrased a little strangely,
so I changed that too.
Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
-rw-r--r-- | src/consensus/gnunet-consensus-profiler.c | 2 | ||||
-rw-r--r-- | src/include/gnunet_mq_lib.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_testbed_service.h | 4 | ||||
-rw-r--r-- | src/secretsharing/gnunet-secretsharing-profiler.c | 2 | ||||
-rw-r--r-- | src/setu/gnunet-service-setu.c | 2 | ||||
-rw-r--r-- | src/testbed/test_testbed_api.c | 2 | ||||
-rw-r--r-- | src/testbed/test_testbed_api_test.c | 2 | ||||
-rw-r--r-- | src/testbed/testbed_api.c | 2 | ||||
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 6 |
9 files changed, 12 insertions, 12 deletions
diff --git a/src/consensus/gnunet-consensus-profiler.c b/src/consensus/gnunet-consensus-profiler.c index 07a536a2d..535837008 100644 --- a/src/consensus/gnunet-consensus-profiler.c +++ b/src/consensus/gnunet-consensus-profiler.c | |||
@@ -380,7 +380,7 @@ disconnect_adapter (void *cls, void *op_result) | |||
380 | /** | 380 | /** |
381 | * Callback to be called when the requested peer information is available | 381 | * Callback to be called when the requested peer information is available |
382 | * | 382 | * |
383 | * @param cb_cls the closure from GNUNET_TETSBED_peer_get_information() | 383 | * @param cb_cls the closure from GNUNET_TESTBED_peer_get_information() |
384 | * @param op the operation this callback corresponds to | 384 | * @param op the operation this callback corresponds to |
385 | * @param pinfo the result; will be NULL if the operation has failed | 385 | * @param pinfo the result; will be NULL if the operation has failed |
386 | * @param emsg error message if the operation has failed; will be NULL if the | 386 | * @param emsg error message if the operation has failed; will be NULL if the |
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h index 95e8c619b..f424c49c2 100644 --- a/src/include/gnunet_mq_lib.h +++ b/src/include/gnunet_mq_lib.h | |||
@@ -994,7 +994,7 @@ GNUNET_MQ_destroy_notify_cancel ( | |||
994 | * Call the message message handler that was registered | 994 | * Call the message message handler that was registered |
995 | * for the type of the given message in the given message queue. | 995 | * for the type of the given message in the given message queue. |
996 | * | 996 | * |
997 | * This function is indented to be used for the implementation | 997 | * This function is intended to be used for the implementation |
998 | * of message queues. | 998 | * of message queues. |
999 | * | 999 | * |
1000 | * @param mq message queue with the handlers | 1000 | * @param mq message queue with the handlers |
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h index acd87e2cd..2aeafc977 100644 --- a/src/include/gnunet_testbed_service.h +++ b/src/include/gnunet_testbed_service.h | |||
@@ -428,7 +428,7 @@ typedef void | |||
428 | * GNUNET_TESTBED_ControllerStatusCallback() | 428 | * GNUNET_TESTBED_ControllerStatusCallback() |
429 | * | 429 | * |
430 | * @param trusted_ip the ip address of the controller which will be set as TRUSTED | 430 | * @param trusted_ip the ip address of the controller which will be set as TRUSTED |
431 | * HOST(all connections form this ip are permitted by the testbed) when | 431 | * HOST(all connections from this ip are permitted by the testbed) when |
432 | * starting testbed controller at host. This can either be a single ip | 432 | * starting testbed controller at host. This can either be a single ip |
433 | * address or a network address in CIDR notation. | 433 | * address or a network address in CIDR notation. |
434 | * @param host the host where the controller has to be started. CANNOT be NULL. | 434 | * @param host the host where the controller has to be started. CANNOT be NULL. |
@@ -752,7 +752,7 @@ struct GNUNET_TESTBED_PeerInformation | |||
752 | * Callback to be called when the requested peer information is available | 752 | * Callback to be called when the requested peer information is available |
753 | * The peer information in the callback is valid until the operation 'op' is canceled. | 753 | * The peer information in the callback is valid until the operation 'op' is canceled. |
754 | * | 754 | * |
755 | * @param cb_cls the closure from GNUNET_TETSBED_peer_get_information() | 755 | * @param cb_cls the closure from GNUNET_TESTBED_peer_get_information() |
756 | * @param op the operation this callback corresponds to | 756 | * @param op the operation this callback corresponds to |
757 | * @param pinfo the result; will be NULL if the operation has failed | 757 | * @param pinfo the result; will be NULL if the operation has failed |
758 | * @param emsg error message if the operation has failed; will be NULL if the | 758 | * @param emsg error message if the operation has failed; will be NULL if the |
diff --git a/src/secretsharing/gnunet-secretsharing-profiler.c b/src/secretsharing/gnunet-secretsharing-profiler.c index 76bba0bc9..432d6da89 100644 --- a/src/secretsharing/gnunet-secretsharing-profiler.c +++ b/src/secretsharing/gnunet-secretsharing-profiler.c | |||
@@ -446,7 +446,7 @@ session_disconnect_adapter (void *cls, void *op_result) | |||
446 | /** | 446 | /** |
447 | * Callback to be called when the requested peer information is available | 447 | * Callback to be called when the requested peer information is available |
448 | * | 448 | * |
449 | * @param cb_cls the closure from GNUNET_TETSBED_peer_get_information() | 449 | * @param cb_cls the closure from GNUNET_TESTBED_peer_get_information() |
450 | * @param op the operation this callback corresponds to | 450 | * @param op the operation this callback corresponds to |
451 | * @param pinfo the result; will be NULL if the operation has failed | 451 | * @param pinfo the result; will be NULL if the operation has failed |
452 | * @param emsg error message if the operation has failed; will be NULL if the | 452 | * @param emsg error message if the operation has failed; will be NULL if the |
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c index 339d347f8..b9dc24dce 100644 --- a/src/setu/gnunet-service-setu.c +++ b/src/setu/gnunet-service-setu.c | |||
@@ -5043,7 +5043,7 @@ handle_client_evaluate (void *cls, | |||
5043 | #endif | 5043 | #endif |
5044 | 5044 | ||
5045 | /* Advance generation values, so that | 5045 | /* Advance generation values, so that |
5046 | mutations won't interfer with the running operation. */ | 5046 | mutations won't interfere with the running operation. */ |
5047 | op->set = set; | 5047 | op->set = set; |
5048 | op->generation_created = set->current_generation; | 5048 | op->generation_created = set->current_generation; |
5049 | advance_generation (set); | 5049 | advance_generation (set); |
diff --git a/src/testbed/test_testbed_api.c b/src/testbed/test_testbed_api.c index a46a7596a..ffc98f42c 100644 --- a/src/testbed/test_testbed_api.c +++ b/src/testbed/test_testbed_api.c | |||
@@ -265,7 +265,7 @@ service_connect_comp_cb (void *cls, | |||
265 | /** | 265 | /** |
266 | * Callback to be called when the requested peer information is available | 266 | * Callback to be called when the requested peer information is available |
267 | * | 267 | * |
268 | * @param cb_cls the closure from GNUNET_TETSBED_peer_get_information() | 268 | * @param cb_cls the closure from GNUNET_TESTBED_peer_get_information() |
269 | * @param op the operation this callback corresponds to | 269 | * @param op the operation this callback corresponds to |
270 | * @param pinfo the result; will be NULL if the operation has failed | 270 | * @param pinfo the result; will be NULL if the operation has failed |
271 | * @param emsg error message if the operation has failed; will be NULL if the | 271 | * @param emsg error message if the operation has failed; will be NULL if the |
diff --git a/src/testbed/test_testbed_api_test.c b/src/testbed/test_testbed_api_test.c index f451c6555..1728badc1 100644 --- a/src/testbed/test_testbed_api_test.c +++ b/src/testbed/test_testbed_api_test.c | |||
@@ -118,7 +118,7 @@ do_abort (void *cls) | |||
118 | /** | 118 | /** |
119 | * Callback to be called when the requested peer information is available | 119 | * Callback to be called when the requested peer information is available |
120 | * | 120 | * |
121 | * @param cb_cls the closure from GNUNET_TETSBED_peer_get_information() | 121 | * @param cb_cls the closure from GNUNET_TESTBED_peer_get_information() |
122 | * @param op the operation this callback corresponds to | 122 | * @param op the operation this callback corresponds to |
123 | * @param pinfo the result; will be NULL if the operation has failed | 123 | * @param pinfo the result; will be NULL if the operation has failed |
124 | * @param emsg error message if the operation has failed; will be NULL if the | 124 | * @param emsg error message if the operation has failed; will be NULL if the |
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index 2ae0a1703..ee7aac9b7 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c | |||
@@ -1945,7 +1945,7 @@ GNUNET_TESTBED_overlay_write_topology_to_file ( | |||
1945 | * want to use this in testing | 1945 | * want to use this in testing |
1946 | * | 1946 | * |
1947 | * @param trusted_ip the ip address of the controller which will be set as TRUSTED | 1947 | * @param trusted_ip the ip address of the controller which will be set as TRUSTED |
1948 | * HOST(all connections form this ip are permitted by the testbed) when | 1948 | * HOST(all connections from this ip are permitted by the testbed) when |
1949 | * starting testbed controller at host. This can either be a single ip | 1949 | * starting testbed controller at host. This can either be a single ip |
1950 | * address or a network address in CIDR notation. | 1950 | * address or a network address in CIDR notation. |
1951 | * @param hostname the hostname of the destination this message is intended for | 1951 | * @param hostname the hostname of the destination this message is intended for |
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index 824bd0187..be7b9b630 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -792,7 +792,7 @@ free_argv (char **argv) | |||
792 | * be set locally in the function from its parameteres. If the environmental | 792 | * be set locally in the function from its parameteres. If the environmental |
793 | * variable is not found then it defaults to `ssh -o BatchMode=yes -o | 793 | * variable is not found then it defaults to `ssh -o BatchMode=yes -o |
794 | * NoHostAuthenticationForLocalhost=yes -o StrictHostkeyChecking=no -o | 794 | * NoHostAuthenticationForLocalhost=yes -o StrictHostkeyChecking=no -o |
795 | * PasswordAuthentication=noc' | 795 | * PasswordAuthentication=no' |
796 | * | 796 | * |
797 | * @param port the destination port number | 797 | * @param port the destination port number |
798 | * @param hostname the hostname of the target host | 798 | * @param hostname the hostname of the target host |
@@ -872,7 +872,7 @@ gen_rsh_args (const char *port, const char *hostname, const char *username) | |||
872 | /** | 872 | /** |
873 | * Generates the arguments needed for executing the given binary in a remote | 873 | * Generates the arguments needed for executing the given binary in a remote |
874 | * shell. Builds the arguments from the environmental variable | 874 | * shell. Builds the arguments from the environmental variable |
875 | * GNUNET_TETSBED_RSH_CMD_SUFFIX. If the environmental variable is not found, | 875 | * GNUNET_TESTBED_RSH_CMD_SUFFIX. If the environmental variable is not found, |
876 | * only the given binary name will be present in the returned arguments | 876 | * only the given binary name will be present in the returned arguments |
877 | * | 877 | * |
878 | * @param append_args the arguments to append after generating the suffix | 878 | * @param append_args the arguments to append after generating the suffix |
@@ -1054,7 +1054,7 @@ GNUNET_TESTBED_controller_start (const char *trusted_ip, | |||
1054 | host->locked = GNUNET_YES; | 1054 | host->locked = GNUNET_YES; |
1055 | API_VIOLATION ( | 1055 | API_VIOLATION ( |
1056 | GNUNET_NO == host->controller_started, | 1056 | GNUNET_NO == host->controller_started, |
1057 | "Attempting to start a controller on a host which is already started a controller"); | 1057 | "Attempting to start a controller on a host on which a controller is already started"); |
1058 | cp = GNUNET_new (struct GNUNET_TESTBED_ControllerProc); | 1058 | cp = GNUNET_new (struct GNUNET_TESTBED_ControllerProc); |
1059 | if (0 == GNUNET_TESTBED_host_get_id_ (host)) | 1059 | if (0 == GNUNET_TESTBED_host_get_id_ (host)) |
1060 | { | 1060 | { |