diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
commit | 5746309cb4be2073d550ad7a6885e918631dbc38 (patch) | |
tree | 89455bc4aadf977816b38df13f990372cd81d71a /src/util/peer.c | |
parent | 6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff) | |
download | gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip |
indentation
Diffstat (limited to 'src/util/peer.c')
-rw-r--r-- | src/util/peer.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/util/peer.c b/src/util/peer.c index 91a706040..62fa0e2f2 100644 --- a/src/util/peer.c +++ b/src/util/peer.c | |||
@@ -148,8 +148,7 @@ GNUNET_PEER_intern (const struct GNUNET_PeerIdentity *pid) | |||
148 | table[ret].rc = 1; | 148 | table[ret].rc = 1; |
149 | table[ret].pid = ret; | 149 | table[ret].pid = ret; |
150 | GNUNET_break (GNUNET_OK == | 150 | GNUNET_break (GNUNET_OK == |
151 | GNUNET_CONTAINER_multihashmap_put (map, | 151 | GNUNET_CONTAINER_multihashmap_put (map, &pid->hashPubKey, |
152 | &pid->hashPubKey, | ||
153 | (void *) (long) ret, | 152 | (void *) (long) ret, |
154 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); | 153 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); |
155 | return ret; | 154 | return ret; |
@@ -182,8 +181,8 @@ GNUNET_PEER_decrement_rcs (const GNUNET_PEER_Id *ids, unsigned int count) | |||
182 | { | 181 | { |
183 | GNUNET_break (GNUNET_OK == | 182 | GNUNET_break (GNUNET_OK == |
184 | GNUNET_CONTAINER_multihashmap_remove (map, | 183 | GNUNET_CONTAINER_multihashmap_remove (map, |
185 | &table[id]. | 184 | &table[id].id. |
186 | id.hashPubKey, | 185 | hashPubKey, |
187 | (void *) (long) id)); | 186 | (void *) (long) id)); |
188 | table[id].pid = free_list_start; | 187 | table[id].pid = free_list_start; |
189 | free_list_start = id; | 188 | free_list_start = id; |
@@ -211,8 +210,8 @@ GNUNET_PEER_change_rc (GNUNET_PEER_Id id, int delta) | |||
211 | { | 210 | { |
212 | GNUNET_break (GNUNET_OK == | 211 | GNUNET_break (GNUNET_OK == |
213 | GNUNET_CONTAINER_multihashmap_remove (map, | 212 | GNUNET_CONTAINER_multihashmap_remove (map, |
214 | &table[id]. | 213 | &table[id].id. |
215 | id.hashPubKey, | 214 | hashPubKey, |
216 | (void *) (long) id)); | 215 | (void *) (long) id)); |
217 | table[id].pid = free_list_start; | 216 | table[id].pid = free_list_start; |
218 | free_list_start = id; | 217 | free_list_start = id; |