projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6517ea2
)
-raw for shorten
author
Martin Schanzenbach
<mschanzenbach@posteo.de>
Sun, 20 May 2012 15:38:32 +0000
(15:38 +0000)
committer
Martin Schanzenbach
<mschanzenbach@posteo.de>
Sun, 20 May 2012 15:38:32 +0000
(15:38 +0000)
src/gns/gnunet-gns.c
patch
|
blob
|
history
diff --git
a/src/gns/gnunet-gns.c
b/src/gns/gnunet-gns.c
index 993483175cd876bdf5515e22d715cbd6adcf46fb..ca3a594e19de7a7005a9a85d8ae57ab5f957660a 100644
(file)
--- 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);
}