From: Christian Grothoff Date: Thu, 14 Jun 2012 11:45:00 +0000 (+0000) Subject: -typos X-Git-Tag: initial-import-from-subversion-38251~13067 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4202f00bca8935153d69b531c8df4bad227f3f66;p=oweals%2Fgnunet.git -typos --- diff --git a/src/peerinfo/peerinfo.h b/src/peerinfo/peerinfo.h index 919645e17..e61848757 100644 --- a/src/peerinfo/peerinfo.h +++ b/src/peerinfo/peerinfo.h @@ -38,7 +38,8 @@ struct ListPeerMessage { /** - * Type will be GNUNET_MESSAGE_TYPE_PEERINFO_GET + * Type will be GNUNET_MESSAGE_TYPE_PEERINFO_GET or + * GNUNET_MESSAGE_TYPE_PEERINFO_GET_ALL. */ struct GNUNET_MessageHeader header; diff --git a/src/testing/gnunet-testing-run-service.c b/src/testing/gnunet-testing-run-service.c index fa98e1a6c..38351d75e 100644 --- a/src/testing/gnunet-testing-run-service.c +++ b/src/testing/gnunet-testing-run-service.c @@ -135,7 +135,7 @@ stdin_cb (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) fprintf (stderr, _("Unknown command, use 'q' to quit or 'r' to restart peer\n")); break; } - tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, &fh, &stdin_cb, NULL); + tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, fh, &stdin_cb, NULL); } @@ -155,7 +155,7 @@ testing_main (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg, if (NULL == (tmpfilename = GNUNET_DISK_mktemp ("gnunet-testing"))) { GNUNET_break (0); - cleanup (); + GNUNET_SCHEDULER_shutdown (); return; } if (GNUNET_SYSERR == @@ -166,9 +166,9 @@ testing_main (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg, } printf("%s\n", tmpfilename); fflush(stdout); - GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREFER_REL, &cleanup); + GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleanup, NULL); fh = GNUNET_DISK_get_handle_from_native (stdin); - tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, &fh, &stdin_cb, NULL); + tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, fh, &stdin_cb, NULL); }