aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/gnunet-scalarproduct.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-08 00:17:15 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-08 00:17:15 +0000
commit4d8d62298e1926c6f8bd26ad5a34b966ffeb188c (patch)
treef3bfc90e07d1af8bdc15b69663f03b3a07857e71 /src/scalarproduct/gnunet-scalarproduct.c
parenta3c0efd4c0b4f30f4956e2e44d59bfb003b80c6f (diff)
downloadgnunet-4d8d62298e1926c6f8bd26ad5a34b966ffeb188c.tar.gz
gnunet-4d8d62298e1926c6f8bd26ad5a34b966ffeb188c.zip
-fix shutdown
Diffstat (limited to 'src/scalarproduct/gnunet-scalarproduct.c')
-rw-r--r--src/scalarproduct/gnunet-scalarproduct.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/scalarproduct/gnunet-scalarproduct.c b/src/scalarproduct/gnunet-scalarproduct.c
index e812ff444..6f8d03bf3 100644
--- a/src/scalarproduct/gnunet-scalarproduct.c
+++ b/src/scalarproduct/gnunet-scalarproduct.c
@@ -137,7 +137,11 @@ requester_callback (void *cls,
137 if (0 == (rc = gcry_mpi_aprint (GCRYMPI_FMT_HEX, &buf, NULL, result))) 137 if (0 == (rc = gcry_mpi_aprint (GCRYMPI_FMT_HEX, &buf, NULL, result)))
138 { 138 {
139 ret = 0; 139 ret = 0;
140 printf ("%s", buf); 140 fprintf (stdout,
141 "%s%s\n",
142 (0 > gcry_mpi_cmp_ui (result, 0)) ? "-" : "",
143 buf);
144 fflush (stdout);
141 } 145 }
142 else 146 else
143 LOG_GCRY (GNUNET_ERROR_TYPE_ERROR, 147 LOG_GCRY (GNUNET_ERROR_TYPE_ERROR,