diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-20 12:54:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-20 12:54:35 +0000 |
commit | 03e7bdd09825eeaf044dc1779f7afe97af2a4453 (patch) | |
tree | dca785d2bde6b1ab4f4fcdffc6dca2d43880cbd2 /src/namestore | |
parent | 24c6fc033f1afcbb88da3ecabe95bb51088d8daf (diff) | |
download | gnunet-03e7bdd09825eeaf044dc1779f7afe97af2a4453.tar.gz gnunet-03e7bdd09825eeaf044dc1779f7afe97af2a4453.zip |
-indentation
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/gnunet-namestore.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index 0eb2c1786..ec6ccbfbe 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c | |||
@@ -806,9 +806,9 @@ identity_cb (void *cls, | |||
806 | 806 | ||
807 | static void | 807 | static void |
808 | default_ego_cb (void *cls, | 808 | default_ego_cb (void *cls, |
809 | struct GNUNET_IDENTITY_Ego *ego, | 809 | struct GNUNET_IDENTITY_Ego *ego, |
810 | void **ctx, | 810 | void **ctx, |
811 | const char *name) | 811 | const char *name) |
812 | { | 812 | { |
813 | get_default = NULL; | 813 | get_default = NULL; |
814 | if (NULL == ego) | 814 | if (NULL == ego) |
@@ -825,17 +825,20 @@ default_ego_cb (void *cls, | |||
825 | } | 825 | } |
826 | } | 826 | } |
827 | 827 | ||
828 | |||
828 | static void | 829 | static void |
829 | id_connect_cb (void *cls, | 830 | id_connect_cb (void *cls, |
830 | struct GNUNET_IDENTITY_Ego *ego, | 831 | struct GNUNET_IDENTITY_Ego *ego, |
831 | void **ctx, | 832 | void **ctx, |
832 | const char *name) | 833 | const char *name) |
833 | { | 834 | { |
834 | const struct GNUNET_CONFIGURATION_Handle *cfg = cls; | 835 | const struct GNUNET_CONFIGURATION_Handle *cfg = cls; |
836 | |||
835 | if (NULL == ego) | 837 | if (NULL == ego) |
836 | { | 838 | { |
837 | get_default = GNUNET_IDENTITY_get (idh, "namestore", | 839 | get_default = GNUNET_IDENTITY_get (idh, |
838 | &default_ego_cb, (void *) cfg); | 840 | "namestore", |
841 | &default_ego_cb, (void *) cfg); | ||
839 | } | 842 | } |
840 | } | 843 | } |
841 | 844 | ||