diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
commit | 17d34d5e094c2f8a90717b07e3a711d6e2c15903 (patch) | |
tree | 777b5323145a5f4d1f044da29a682799008a11d4 /src/statistics/statistics_api.c | |
parent | 3391977e3f92a2ebcafc14ea6374aecd580df873 (diff) | |
download | gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.tar.gz gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.zip |
more renamings relating to 'new' service now just being the 'normal' service
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r-- | src/statistics/statistics_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index ad4453b2a..9d04e854f 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c | |||
@@ -349,7 +349,7 @@ schedule_watch_request (struct GNUNET_STATISTICS_Handle *h, | |||
349 | slen = strlen (watch->subsystem) + 1; | 349 | slen = strlen (watch->subsystem) + 1; |
350 | nlen = strlen (watch->name) + 1; | 350 | nlen = strlen (watch->name) + 1; |
351 | nsize = sizeof (struct GNUNET_MessageHeader) + slen + nlen; | 351 | nsize = sizeof (struct GNUNET_MessageHeader) + slen + nlen; |
352 | if (nsize >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 352 | if (nsize >= GNUNET_MAX_MESSAGE_SIZE) |
353 | { | 353 | { |
354 | GNUNET_break (0); | 354 | GNUNET_break (0); |
355 | return; | 355 | return; |
@@ -1098,7 +1098,7 @@ GNUNET_STATISTICS_get (struct GNUNET_STATISTICS_Handle *handle, | |||
1098 | slen1 = strlen (subsystem) + 1; | 1098 | slen1 = strlen (subsystem) + 1; |
1099 | slen2 = strlen (name) + 1; | 1099 | slen2 = strlen (name) + 1; |
1100 | GNUNET_assert (slen1 + slen2 + sizeof (struct GNUNET_MessageHeader) < | 1100 | GNUNET_assert (slen1 + slen2 + sizeof (struct GNUNET_MessageHeader) < |
1101 | GNUNET_SERVER_MAX_MESSAGE_SIZE); | 1101 | GNUNET_MAX_MESSAGE_SIZE); |
1102 | ai = GNUNET_new (struct GNUNET_STATISTICS_GetHandle); | 1102 | ai = GNUNET_new (struct GNUNET_STATISTICS_GetHandle); |
1103 | ai->sh = handle; | 1103 | ai->sh = handle; |
1104 | ai->subsystem = GNUNET_strdup (subsystem); | 1104 | ai->subsystem = GNUNET_strdup (subsystem); |
@@ -1246,7 +1246,7 @@ add_setter_action (struct GNUNET_STATISTICS_Handle *h, | |||
1246 | slen = strlen (h->subsystem) + 1; | 1246 | slen = strlen (h->subsystem) + 1; |
1247 | nlen = strlen (name) + 1; | 1247 | nlen = strlen (name) + 1; |
1248 | nsize = sizeof (struct GNUNET_STATISTICS_SetMessage) + slen + nlen; | 1248 | nsize = sizeof (struct GNUNET_STATISTICS_SetMessage) + slen + nlen; |
1249 | if (nsize >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 1249 | if (nsize >= GNUNET_MAX_MESSAGE_SIZE) |
1250 | { | 1250 | { |
1251 | GNUNET_break (0); | 1251 | GNUNET_break (0); |
1252 | return; | 1252 | return; |