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/psycstore | |
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/psycstore')
-rw-r--r-- | src/psycstore/gnunet-service-psycstore.c | 2 | ||||
-rw-r--r-- | src/psycstore/psycstore_api.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/psycstore/gnunet-service-psycstore.c b/src/psycstore/gnunet-service-psycstore.c index 10c92a878..1bee8da65 100644 --- a/src/psycstore/gnunet-service-psycstore.c +++ b/src/psycstore/gnunet-service-psycstore.c | |||
@@ -106,7 +106,7 @@ send_result_code (struct GNUNET_SERVICE_Client *client, | |||
106 | 106 | ||
107 | if (NULL != err_msg) | 107 | if (NULL != err_msg) |
108 | err_size = strnlen (err_msg, | 108 | err_size = strnlen (err_msg, |
109 | GNUNET_SERVER_MAX_MESSAGE_SIZE - sizeof (*res) - 1) + 1; | 109 | GNUNET_MAX_MESSAGE_SIZE - sizeof (*res) - 1) + 1; |
110 | struct GNUNET_MQ_Envelope * | 110 | struct GNUNET_MQ_Envelope * |
111 | env = GNUNET_MQ_msg_extra (res, err_size, | 111 | env = GNUNET_MQ_msg_extra (res, err_size, |
112 | GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_CODE); | 112 | GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_CODE); |
diff --git a/src/psycstore/psycstore_api.c b/src/psycstore/psycstore_api.c index 40322662e..d79daa357 100644 --- a/src/psycstore/psycstore_api.c +++ b/src/psycstore/psycstore_api.c | |||
@@ -809,7 +809,7 @@ GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, | |||
809 | if (NULL == method_prefix) | 809 | if (NULL == method_prefix) |
810 | method_prefix = ""; | 810 | method_prefix = ""; |
811 | uint16_t method_size = strnlen (method_prefix, | 811 | uint16_t method_size = strnlen (method_prefix, |
812 | GNUNET_SERVER_MAX_MESSAGE_SIZE | 812 | GNUNET_MAX_MESSAGE_SIZE |
813 | - sizeof (*req)) + 1; | 813 | - sizeof (*req)) + 1; |
814 | 814 | ||
815 | struct GNUNET_MQ_Envelope * | 815 | struct GNUNET_MQ_Envelope * |
@@ -875,7 +875,7 @@ GNUNET_PSYCSTORE_message_get_latest (struct GNUNET_PSYCSTORE_Handle *h, | |||
875 | if (NULL == method_prefix) | 875 | if (NULL == method_prefix) |
876 | method_prefix = ""; | 876 | method_prefix = ""; |
877 | uint16_t method_size = strnlen (method_prefix, | 877 | uint16_t method_size = strnlen (method_prefix, |
878 | GNUNET_SERVER_MAX_MESSAGE_SIZE | 878 | GNUNET_MAX_MESSAGE_SIZE |
879 | - sizeof (*req)) + 1; | 879 | - sizeof (*req)) + 1; |
880 | GNUNET_assert ('\0' == method_prefix[method_size - 1]); | 880 | GNUNET_assert ('\0' == method_prefix[method_size - 1]); |
881 | 881 | ||