gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 34e234898c8388d08bad5e8a14e5de3fb0ab8beb
parent 66042c5692cb3bb36092f6aa5eda1073f35c6167
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 22 May 2015 10:18:36 +0000

-fix policy string generation

Diffstat:
Msrc/exit/gnunet-daemon-exit.c | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c @@ -3769,9 +3769,10 @@ run (void *cls, GNUNET_free_non_null (policy); if (NULL != regex) { - (void) GNUNET_asprintf (&prefixed_regex, "%s%s%s", + (void) GNUNET_asprintf (&prefixed_regex, + "%s%s", GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX, - "4", regex); + regex); regex4 = GNUNET_REGEX_announce (cfg, prefixed_regex, REGEX_REFRESH_FREQUENCY, @@ -3795,9 +3796,10 @@ run (void *cls, GNUNET_free_non_null (policy); if (NULL != regex) { - (void) GNUNET_asprintf (&prefixed_regex, "%s%s%s", + (void) GNUNET_asprintf (&prefixed_regex, + "%s%s", GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX, - "6", regex); + regex); regex6 = GNUNET_REGEX_announce (cfg, prefixed_regex, REGEX_REFRESH_FREQUENCY,