diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-05-20 15:38:32 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-05-20 15:38:32 +0000 |
commit | d7acecb458a355ea7981bce91230733c373d85fb (patch) | |
tree | 17340596d182b9961a9e4fbd5cfeec97402f51e3 /src | |
parent | 6517ea25896f843fd4af805533155d70f0fd3d77 (diff) | |
download | gnunet-d7acecb458a355ea7981bce91230733c373d85fb.tar.gz gnunet-d7acecb458a355ea7981bce91230733c373d85fb.zip |
-raw for shorten
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/gnunet-gns.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index 993483175..ca3a594e1 100644 --- a/src/gns/gnunet-gns.c +++ b/src/gns/gnunet-gns.c | |||
@@ -85,7 +85,10 @@ do_shutdown (void *cls, | |||
85 | static void | 85 | static void |
86 | process_shorten_result(void* cls, const char* nshort) | 86 | process_shorten_result(void* cls, const char* nshort) |
87 | { | 87 | { |
88 | printf("%s shortened to %s\n", (char*) cls, nshort); | 88 | if (raw) |
89 | printf("%s", nshort); | ||
90 | else | ||
91 | printf("%s shortened to %s\n", (char*) cls, nshort); | ||
89 | GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); | 92 | GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); |
90 | } | 93 | } |
91 | 94 | ||