aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_search.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-05 15:54:47 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-05 15:54:47 +0100
commit29be1a71b26bed8f6b0317cc4ad12195edd6569f (patch)
treea45b210c99852e4689de1ef8c1b31e01ca37db4e /src/fs/fs_search.c
parent6640e3beca224341f82216442c8e2d417199836f (diff)
downloadgnunet-29be1a71b26bed8f6b0317cc4ad12195edd6569f.tar.gz
gnunet-29be1a71b26bed8f6b0317cc4ad12195edd6569f.zip
indentation, comment and style fixes, no semantic changes
Diffstat (limited to 'src/fs/fs_search.c')
-rw-r--r--src/fs/fs_search.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c
index 3cbf2afef..e31115f39 100644
--- a/src/fs/fs_search.c
+++ b/src/fs/fs_search.c
@@ -1383,9 +1383,10 @@ GNUNET_FS_search_start_searching_ (struct GNUNET_FS_SearchContext *sc)
1383 GNUNET_assert (0 != sc->uri->data.ksk.keywordCount); 1383 GNUNET_assert (0 != sc->uri->data.ksk.keywordCount);
1384 anon = GNUNET_CRYPTO_ecdsa_key_get_anonymous (); 1384 anon = GNUNET_CRYPTO_ecdsa_key_get_anonymous ();
1385 GNUNET_CRYPTO_ecdsa_key_get_public (anon, &anon_pub); 1385 GNUNET_CRYPTO_ecdsa_key_get_public (anon, &anon_pub);
1386 sc->requests = 1386 sc->requests
1387 GNUNET_malloc (sizeof (struct SearchRequestEntry) * 1387 = GNUNET_new_array (sc->uri->data.ksk.keywordCount,
1388 sc->uri->data.ksk.keywordCount); 1388 struct SearchRequestEntry);
1389
1389 for (i = 0; i < sc->uri->data.ksk.keywordCount; i++) 1390 for (i = 0; i < sc->uri->data.ksk.keywordCount; i++)
1390 { 1391 {
1391 keyword = &sc->uri->data.ksk.keywords[i][1]; 1392 keyword = &sc->uri->data.ksk.keywords[i][1];