aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tool/gnunet-ats.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-07 14:15:38 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-07 14:15:38 +0000
commite5bd8fb4aa72717b8707a4652f14c0735acb52c4 (patch)
tree08398e22b9408cc24b6b9e6cb360fe04b9eeae05 /src/ats-tool/gnunet-ats.c
parent572bab1ace57fb9d7acbd218d6940cb1e9a0797b (diff)
downloadgnunet-e5bd8fb4aa72717b8707a4652f14c0735acb52c4.tar.gz
gnunet-e5bd8fb4aa72717b8707a4652f14c0735acb52c4.zip
determine network scope for ATS even if we do not yet have a session and only have an address
Diffstat (limited to 'src/ats-tool/gnunet-ats.c')
-rw-r--r--src/ats-tool/gnunet-ats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c
index 7fd8e826b..9ea603bc1 100644
--- a/src/ats-tool/gnunet-ats.c
+++ b/src/ats-tool/gnunet-ats.c
@@ -647,7 +647,7 @@ print_quotas (const struct GNUNET_CONFIGURATION_Handle *cfg)
647 GNUNET_ATS_print_network_type (c)); 647 GNUNET_ATS_print_network_type (c));
648 GNUNET_asprintf (&quota_out_str, "-"); 648 GNUNET_asprintf (&quota_out_str, "-");
649 } 649 }
650 GNUNET_free(entry_out); 650 GNUNET_free (entry_out);
651 651
652 /* quota in */ 652 /* quota in */
653 if (GNUNET_OK == 653 if (GNUNET_OK ==
@@ -660,7 +660,7 @@ print_quotas (const struct GNUNET_CONFIGURATION_Handle *cfg)
660 || (GNUNET_SYSERR == 660 || (GNUNET_SYSERR ==
661 GNUNET_STRINGS_fancy_size_to_bytes (quota_in_str, &quota_in))) 661 GNUNET_STRINGS_fancy_size_to_bytes (quota_in_str, &quota_in)))
662 quota_in = UINT32_MAX; 662 quota_in = UINT32_MAX;
663 GNUNET_free(quota_in_str); 663 GNUNET_free (quota_in_str);
664 GNUNET_asprintf (&quota_in_str, "%llu", quota_in); 664 GNUNET_asprintf (&quota_in_str, "%llu", quota_in);
665 } 665 }
666 else 666 else