From: Martin Schanzenbach Date: Sun, 20 May 2012 15:38:32 +0000 (+0000) Subject: -raw for shorten X-Git-Tag: initial-import-from-subversion-38251~13434 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d7acecb458a355ea7981bce91230733c373d85fb;p=oweals%2Fgnunet.git -raw for shorten --- 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, static void process_shorten_result(void* cls, const char* nshort) { - printf("%s shortened to %s\n", (char*) cls, nshort); + if (raw) + printf("%s", nshort); + else + printf("%s shortened to %s\n", (char*) cls, nshort); GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); }