diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/fs/fs_namespace.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/fs/fs_namespace.c')
-rw-r--r-- | src/fs/fs_namespace.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c index 2fe1de7e2..f4cd82978 100644 --- a/src/fs/fs_namespace.c +++ b/src/fs/fs_namespace.c | |||
@@ -147,9 +147,9 @@ get_update_information_directory (struct GNUNET_FS_Handle *h, | |||
147 | GNUNET_CRYPTO_hash (&pub, sizeof (pub), &hc); | 147 | GNUNET_CRYPTO_hash (&pub, sizeof (pub), &hc); |
148 | GNUNET_CRYPTO_hash_to_enc (&hc, | 148 | GNUNET_CRYPTO_hash_to_enc (&hc, |
149 | &enc); | 149 | &enc); |
150 | GNUNET_asprintf (&ret, "%s%s%s", | 150 | GNUNET_asprintf (&ret, "%s%s%s", |
151 | dn, | 151 | dn, |
152 | DIR_SEPARATOR_STR, | 152 | DIR_SEPARATOR_STR, |
153 | (const char *) enc.encoding); | 153 | (const char *) enc.encoding); |
154 | GNUNET_free (dn); | 154 | GNUNET_free (dn); |
155 | return ret; | 155 | return ret; |
@@ -158,7 +158,7 @@ get_update_information_directory (struct GNUNET_FS_Handle *h, | |||
158 | 158 | ||
159 | /** | 159 | /** |
160 | * Release memory occupied by UIG datastructure. | 160 | * Release memory occupied by UIG datastructure. |
161 | * | 161 | * |
162 | * @param uig data structure to free | 162 | * @param uig data structure to free |
163 | */ | 163 | */ |
164 | static void | 164 | static void |
@@ -317,7 +317,7 @@ read_update_information_graph (struct GNUNET_FS_Handle *h, | |||
317 | END: | 317 | END: |
318 | if (GNUNET_OK != GNUNET_BIO_read_close (rh, &emsg)) | 318 | if (GNUNET_OK != GNUNET_BIO_read_close (rh, &emsg)) |
319 | { | 319 | { |
320 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Failed to read `%s': %s\n"), | 320 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Failed to read `%s': %s\n"), |
321 | fn, emsg); | 321 | fn, emsg); |
322 | GNUNET_free (emsg); | 322 | GNUNET_free (emsg); |
323 | } | 323 | } |
@@ -383,7 +383,7 @@ struct GNUNET_FS_PublishSksContext | |||
383 | * @param msg error message (or NULL) | 383 | * @param msg error message (or NULL) |
384 | */ | 384 | */ |
385 | static void | 385 | static void |
386 | sks_publish_cont (void *cls, | 386 | sks_publish_cont (void *cls, |
387 | const char *msg) | 387 | const char *msg) |
388 | { | 388 | { |
389 | struct GNUNET_FS_PublishSksContext *psc = cls; | 389 | struct GNUNET_FS_PublishSksContext *psc = cls; |
@@ -405,7 +405,7 @@ sks_publish_cont (void *cls, | |||
405 | uig = read_update_information_graph (psc->h, | 405 | uig = read_update_information_graph (psc->h, |
406 | &psc->ns); | 406 | &psc->ns); |
407 | GNUNET_array_append (uig->update_nodes, | 407 | GNUNET_array_append (uig->update_nodes, |
408 | uig->update_node_count, | 408 | uig->update_node_count, |
409 | psc->nsn); | 409 | psc->nsn); |
410 | psc->nsn = NULL; | 410 | psc->nsn = NULL; |
411 | write_update_information_graph (uig); | 411 | write_update_information_graph (uig); |
@@ -549,16 +549,16 @@ struct ProcessUpdateClosure | |||
549 | * GNUNET_NO if not. | 549 | * GNUNET_NO if not. |
550 | */ | 550 | */ |
551 | static int | 551 | static int |
552 | process_update_node (void *cls, | 552 | process_update_node (void *cls, |
553 | const struct GNUNET_HashCode *key, | 553 | const struct GNUNET_HashCode *key, |
554 | void *value) | 554 | void *value) |
555 | { | 555 | { |
556 | struct ProcessUpdateClosure *pc = cls; | 556 | struct ProcessUpdateClosure *pc = cls; |
557 | struct NamespaceUpdateNode *nsn = value; | 557 | struct NamespaceUpdateNode *nsn = value; |
558 | 558 | ||
559 | pc->ip (pc->ip_cls, | 559 | pc->ip (pc->ip_cls, |
560 | nsn->id, | 560 | nsn->id, |
561 | nsn->uri, | 561 | nsn->uri, |
562 | nsn->md, | 562 | nsn->md, |
563 | nsn->update); | 563 | nsn->update); |
564 | return GNUNET_YES; | 564 | return GNUNET_YES; |
@@ -619,7 +619,7 @@ struct FindTreeClosure | |||
619 | */ | 619 | */ |
620 | static int | 620 | static int |
621 | find_trees (void *cls, | 621 | find_trees (void *cls, |
622 | const struct GNUNET_HashCode *key, | 622 | const struct GNUNET_HashCode *key, |
623 | void *value) | 623 | void *value) |
624 | { | 624 | { |
625 | struct FindTreeClosure *fc = cls; | 625 | struct FindTreeClosure *fc = cls; |
@@ -780,7 +780,7 @@ GNUNET_FS_namespace_list_updateable (struct GNUNET_FS_Handle *h, | |||
780 | fc.tree_array[fc.id] = nsn; | 780 | fc.tree_array[fc.id] = nsn; |
781 | nsn->tree_id = fc.id; | 781 | nsn->tree_id = fc.id; |
782 | } | 782 | } |
783 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 783 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
784 | "TREE of node `%s' is %u\n", nsn->id, | 784 | "TREE of node `%s' is %u\n", nsn->id, |
785 | fc.id); | 785 | fc.id); |
786 | } | 786 | } |