projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9664937
)
beautify loop
author
Christian Grothoff
<christian@grothoff.org>
Wed, 27 Dec 2017 13:50:11 +0000
(14:50 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 27 Dec 2017 13:50:11 +0000
(14:50 +0100)
src/arm/gnunet-service-arm.c
patch
|
blob
|
history
diff --git
a/src/arm/gnunet-service-arm.c
b/src/arm/gnunet-service-arm.c
index 2db2ba0d1773ef88d680e09c4c69cef1a74101d0..bf5982d10c2e274af03b85f0fd7bc63e8982196c 100644
(file)
--- a/
src/arm/gnunet-service-arm.c
+++ b/
src/arm/gnunet-service-arm.c
@@
-1915,7
+1915,6
@@
setup_service (void *cls,
struct sockaddr **addrs;
socklen_t *addr_lens;
int ret;
- unsigned int i;
if (0 == strcasecmp (section,
"arm"))
@@
-2027,7
+2026,7
@@
setup_service (void *cls,
&addr_lens)))
return;
/* this will free (or capture) addrs[i] */
- for (i = 0; i < ret; i++)
+ for (
unsigned int
i = 0; i < ret; i++)
create_listen_socket (addrs[i],
addr_lens[i],
sl);