diff options
author | Carlo von lynX <lynX@time.to.get.psyced.org> | 2016-08-06 13:58:55 +0000 |
---|---|---|
committer | Carlo von lynX <lynX@time.to.get.psyced.org> | 2016-08-06 13:58:55 +0000 |
commit | 9ca55d20f8309b24696cae7c150874a2117cfd44 (patch) | |
tree | 1a7690e649aa904fbc70c6685e77e08bb0874bad /src/multicast | |
parent | bf25446f57eca4e3fb38ec68a100b575d8573cd0 (diff) | |
download | gnunet-9ca55d20f8309b24696cae7c150874a2117cfd44.tar.gz gnunet-9ca55d20f8309b24696cae7c150874a2117cfd44.zip |
multicast: use INFO not WARNING
Diffstat (limited to 'src/multicast')
-rw-r--r-- | src/multicast/gnunet-multicast.c | 5 | ||||
-rw-r--r-- | src/multicast/gnunet-service-multicast.c | 4 | ||||
-rw-r--r-- | src/multicast/test_multicast.c | 12 |
3 files changed, 12 insertions, 9 deletions
diff --git a/src/multicast/gnunet-multicast.c b/src/multicast/gnunet-multicast.c index b370ca5dd..b37625988 100644 --- a/src/multicast/gnunet-multicast.c +++ b/src/multicast/gnunet-multicast.c | |||
@@ -45,6 +45,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
45 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 45 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
46 | { | 46 | { |
47 | /* main code here */ | 47 | /* main code here */ |
48 | puts( gettext_noop ("This command doesn't do anything yet.") ); | ||
49 | ret = -1; | ||
48 | } | 50 | } |
49 | 51 | ||
50 | 52 | ||
@@ -67,7 +69,8 @@ main (int argc, char *const *argv) | |||
67 | 69 | ||
68 | ret = (GNUNET_OK == | 70 | ret = (GNUNET_OK == |
69 | GNUNET_PROGRAM_run (argc, argv, "gnunet-multicast", | 71 | GNUNET_PROGRAM_run (argc, argv, "gnunet-multicast", |
70 | gettext_noop ("help text"), options, &run, | 72 | gettext_noop ("This command doesn't do anything yet."), |
73 | options, &run, | ||
71 | NULL)) ? ret : 1; | 74 | NULL)) ? ret : 1; |
72 | GNUNET_free ((void*) argv); | 75 | GNUNET_free ((void*) argv); |
73 | return ret; | 76 | return ret; |
diff --git a/src/multicast/gnunet-service-multicast.c b/src/multicast/gnunet-service-multicast.c index 04146a99b..7aeda1421 100644 --- a/src/multicast/gnunet-service-multicast.c +++ b/src/multicast/gnunet-service-multicast.c | |||
@@ -561,7 +561,7 @@ static void | |||
561 | client_send (struct GNUNET_SERVER_Client *client, | 561 | client_send (struct GNUNET_SERVER_Client *client, |
562 | const struct GNUNET_MessageHeader *msg) | 562 | const struct GNUNET_MessageHeader *msg) |
563 | { | 563 | { |
564 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 564 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
565 | "%p Sending message to client.\n", client); | 565 | "%p Sending message to client.\n", client); |
566 | 566 | ||
567 | GNUNET_SERVER_notification_context_add (nc, client); | 567 | GNUNET_SERVER_notification_context_add (nc, client); |
@@ -576,7 +576,7 @@ static void | |||
576 | client_send_group (const struct Group *grp, | 576 | client_send_group (const struct Group *grp, |
577 | const struct GNUNET_MessageHeader *msg) | 577 | const struct GNUNET_MessageHeader *msg) |
578 | { | 578 | { |
579 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 579 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
580 | "%p Sending message to all clients of the group.\n", grp); | 580 | "%p Sending message to all clients of the group.\n", grp); |
581 | 581 | ||
582 | struct ClientList *cl = grp->clients_head; | 582 | struct ClientList *cl = grp->clients_head; |
diff --git a/src/multicast/test_multicast.c b/src/multicast/test_multicast.c index fd8c16670..63f162d00 100644 --- a/src/multicast/test_multicast.c +++ b/src/multicast/test_multicast.c | |||
@@ -152,7 +152,7 @@ end_normally (void *cls) | |||
152 | { | 152 | { |
153 | res = 0; | 153 | res = 0; |
154 | cleanup (); | 154 | cleanup (); |
155 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Test PASSED.\n"); | 155 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Test PASSED.\n"); |
156 | } | 156 | } |
157 | 157 | ||
158 | 158 | ||
@@ -257,7 +257,7 @@ static void | |||
257 | schedule_origin_stop (void *cls) | 257 | schedule_origin_stop (void *cls) |
258 | { | 258 | { |
259 | test = TEST_ORIGIN_STOP; | 259 | test = TEST_ORIGIN_STOP; |
260 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 260 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
261 | "Test #%u: origin_stop()\n", test); | 261 | "Test #%u: origin_stop()\n", test); |
262 | GNUNET_MULTICAST_origin_stop (origin, origin_stopped, NULL); | 262 | GNUNET_MULTICAST_origin_stop (origin, origin_stopped, NULL); |
263 | origin = NULL; | 263 | origin = NULL; |
@@ -302,7 +302,7 @@ static void | |||
302 | member_part () | 302 | member_part () |
303 | { | 303 | { |
304 | test = TEST_MEMBER_PART; | 304 | test = TEST_MEMBER_PART; |
305 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 305 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
306 | "Test #%u: member_part()\n", test); | 306 | "Test #%u: member_part()\n", test); |
307 | GNUNET_SCHEDULER_add_now (&schedule_member_part, NULL); | 307 | GNUNET_SCHEDULER_add_now (&schedule_member_part, NULL); |
308 | } | 308 | } |
@@ -531,7 +531,7 @@ static void | |||
531 | origin_to_all () | 531 | origin_to_all () |
532 | { | 532 | { |
533 | test = TEST_ORIGIN_TO_ALL; | 533 | test = TEST_ORIGIN_TO_ALL; |
534 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 534 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
535 | "Test #%u: origin_to_all()\n", test); | 535 | "Test #%u: origin_to_all()\n", test); |
536 | 536 | ||
537 | struct TransmitClosure *tmit = &tmit_cls; | 537 | struct TransmitClosure *tmit = &tmit_cls; |
@@ -635,7 +635,7 @@ static void | |||
635 | member_join (int t) | 635 | member_join (int t) |
636 | { | 636 | { |
637 | test = t; | 637 | test = t; |
638 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 638 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
639 | "Test #%u: member_join()\n", test); | 639 | "Test #%u: member_join()\n", test); |
640 | 640 | ||
641 | member_key = GNUNET_CRYPTO_ecdsa_key_create (); | 641 | member_key = GNUNET_CRYPTO_ecdsa_key_create (); |
@@ -666,7 +666,7 @@ static void | |||
666 | origin_start () | 666 | origin_start () |
667 | { | 667 | { |
668 | test = TEST_ORIGIN_START; | 668 | test = TEST_ORIGIN_START; |
669 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 669 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
670 | "Test #%u: origin_start()\n", test); | 670 | "Test #%u: origin_start()\n", test); |
671 | 671 | ||
672 | group_key = GNUNET_CRYPTO_eddsa_key_create (); | 672 | group_key = GNUNET_CRYPTO_eddsa_key_create (); |