-raw for shorten
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Sun, 20 May 2012 15:38:32 +0000 (15:38 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Sun, 20 May 2012 15:38:32 +0000 (15:38 +0000)
src/gns/gnunet-gns.c

index 993483175cd876bdf5515e22d715cbd6adcf46fb..ca3a594e19de7a7005a9a85d8ae57ab5f957660a 100644 (file)
@@ -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);
 }