projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
indentation fixes
[oweals/gnunet.git]
/
src
/
statistics
/
statistics_api.c
diff --git
a/src/statistics/statistics_api.c
b/src/statistics/statistics_api.c
index e8aa9cf9c55a5d8d65c7ca3c0c8502ece81ebc88..ad4453b2a62a0e8515317e0d972bdd1c740aabab 100644
(file)
--- a/
src/statistics/statistics_api.c
+++ b/
src/statistics/statistics_api.c
@@
-678,7
+678,7
@@
try_connect (struct GNUNET_STATISTICS_Handle *h)
return GNUNET_NO;
if (NULL != h->mq)
return GNUNET_YES;
return GNUNET_NO;
if (NULL != h->mq)
return GNUNET_YES;
- h->mq = GNUNET_CLIENT_connec
T
(h->cfg,
+ h->mq = GNUNET_CLIENT_connec
t
(h->cfg,
"statistics",
handlers,
&mq_error_handler,
"statistics",
handlers,
&mq_error_handler,
@@
-1015,7
+1015,7
@@
schedule_action (void *cls)
return;
}
if (0 < GNUNET_MQ_get_length (h->mq))
return;
}
if (0 < GNUNET_MQ_get_length (h->mq))
- return; /* Wait for queue to be reduced more */
+ return; /* Wait for queue to be reduced more */
/* schedule next action */
while (NULL == h->current)
{
/* schedule next action */
while (NULL == h->current)
{
@@
-1253,8
+1253,10
@@
add_setter_action (struct GNUNET_STATISTICS_Handle *h,
}
for (ai = h->action_head; NULL != ai; ai = ai->next)
{
}
for (ai = h->action_head; NULL != ai; ai = ai->next)
{
- if (! ( (0 == strcmp (ai->subsystem, h->subsystem)) &&
- (0 == strcmp (ai->name, name)) &&
+ if (! ( (0 == strcmp (ai->subsystem,
+ h->subsystem)) &&
+ (0 == strcmp (ai->name,
+ name)) &&
( (ACTION_UPDATE == ai->type) ||
(ACTION_SET == ai->type) ) ) )
continue;
( (ACTION_UPDATE == ai->type) ||
(ACTION_SET == ai->type) ) ) )
continue;