[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-twister] branch master updated: fix typos
From: |
gnunet |
Subject: |
[taler-twister] branch master updated: fix typos |
Date: |
Thu, 22 Oct 2020 11:46:31 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository twister.
The following commit(s) were added to refs/heads/master by this push:
new e67d2f9 fix typos
e67d2f9 is described below
commit e67d2f91c1e6491af3eb822e685e965b5a498d95
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Oct 22 11:46:30 2020 +0200
fix typos
---
src/include/taler_twister_service.h | 55 ++++++++++++++++---------------------
src/twister/taler-twister-service.c | 4 +--
src/twister/twister_api.c | 54 ++++++++++++++++++------------------
3 files changed, 54 insertions(+), 59 deletions(-)
diff --git a/src/include/taler_twister_service.h
b/src/include/taler_twister_service.h
index 6583fd9..3bc994f 100644
--- a/src/include/taler_twister_service.h
+++ b/src/include/taler_twister_service.h
@@ -55,8 +55,7 @@ struct TALER_TWISTER_Handle;
* @return handle to use in #TALER_TWISTER_disconnect to disconnect
*/
struct TALER_TWISTER_Handle *
-TALER_TWISTER_connect
- (const struct GNUNET_CONFIGURATION_Handle *cfg);
+TALER_TWISTER_connect (const struct GNUNET_CONFIGURATION_Handle *cfg);
/**
@@ -147,11 +146,10 @@ TALER_TWISTER_modify_header_dl (struct
TALER_TWISTER_Handle *h,
* @return operation handle (to possibly abort)
*/
struct TALER_TWISTER_Operation *
-TALER_TWISTER_flip_download
- (struct TALER_TWISTER_Handle *h,
- const char *path,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls);
+TALER_TWISTER_flip_download (struct TALER_TWISTER_Handle *h,
+ const char *path,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls);
/**
@@ -168,11 +166,10 @@ TALER_TWISTER_flip_download
* @return operation handle (to possibly abort)
*/
struct TALER_TWISTER_Operation *
-TALER_TWISTER_flip_upload
- (struct TALER_TWISTER_Handle *h,
- const char *path,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls);
+TALER_TWISTER_flip_upload (struct TALER_TWISTER_Handle *h,
+ const char *path,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls);
/**
@@ -185,11 +182,10 @@ TALER_TWISTER_flip_upload
* @return operation handle (to possibly abort)
*/
struct TALER_TWISTER_Operation *
-TALER_TWISTER_change_response_code
- (struct TALER_TWISTER_Handle *h,
- unsigned int new_rc,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls);
+TALER_TWISTER_change_response_code (struct TALER_TWISTER_Handle *h,
+ unsigned int new_rc,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls);
/**
@@ -202,26 +198,24 @@ TALER_TWISTER_change_response_code
* @return operation handle (to possibly abort)
*/
struct TALER_TWISTER_Operation *
-TALER_TWISTER_malform
- (struct TALER_TWISTER_Handle *h,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls);
+TALER_TWISTER_malform (struct TALER_TWISTER_Handle *h,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls);
/**
* Randomly truncate the request.
*
* @param h twister instance to control
- * @param cb function to call once twister is ready; tipically
+ * @param cb function to call once twister is ready; typically
* a acknowledge function.
* @param cb_cls closure for @a cb
* @return operation handle (to possibly abort)
*/
struct TALER_TWISTER_Operation *
-TALER_TWISTER_malform_upload
- (struct TALER_TWISTER_Handle *h,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls);
+TALER_TWISTER_malform_upload (struct TALER_TWISTER_Handle *h,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls);
/**
@@ -237,11 +231,10 @@ TALER_TWISTER_malform_upload
* @return operation handle (to possibly abort)
*/
struct TALER_TWISTER_Operation *
-TALER_TWISTER_delete_path
- (struct TALER_TWISTER_Handle *h,
- const char *path,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls);
+TALER_TWISTER_delete_path (struct TALER_TWISTER_Handle *h,
+ const char *path,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls);
/**
diff --git a/src/twister/taler-twister-service.c
b/src/twister/taler-twister-service.c
index 3dc7603..88043b8 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -1580,7 +1580,7 @@ create_response (void *cls,
{
/* Malform request body. Note, this flag will be
* cleared only after having set the right malformed
- * body lenght in the request headers. */
+ * body length in the request headers. */
if (GNUNET_YES == malform_upload)
{
TALER_LOG_DEBUG
@@ -1628,7 +1628,7 @@ create_response (void *cls,
}
}
- /* Existing io_len is enough to accomodate this encoding. */
+ /* Existing io_len is enough to accommodate this encoding. */
json_dumpb (hr->json,
hr->io_buf,
hr->io_len,
diff --git a/src/twister/twister_api.c b/src/twister/twister_api.c
index 8bb215b..fb4e075 100644
--- a/src/twister/twister_api.c
+++ b/src/twister/twister_api.c
@@ -158,9 +158,9 @@ TALER_TWISTER_connect
struct GNUNET_MQ_MessageHandler handlers[] = {
GNUNET_MQ_hd_fixed_size
(acknowledgement,
- TWISTER_MESSAGE_TYPE_ACKNOWLEDGEMENT,
- struct GNUNET_MessageHeader,
- h),
+ TWISTER_MESSAGE_TYPE_ACKNOWLEDGEMENT,
+ struct GNUNET_MessageHeader,
+ h),
GNUNET_MQ_handler_end ()
};
@@ -229,7 +229,7 @@ TALER_TWISTER_cancel (struct TALER_TWISTER_Operation *op)
* Randomly truncate the request.
*
* @param h twister instance to control
- * @param cb function to call once twister is ready; tipically
+ * @param cb function to call once twister is ready; typically
* a acknowledge function.
* @param cb_cls closure for @a cb
* @return operation handle (to possibly abort)
@@ -237,8 +237,8 @@ TALER_TWISTER_cancel (struct TALER_TWISTER_Operation *op)
struct TALER_TWISTER_Operation *
TALER_TWISTER_malform_upload
(struct TALER_TWISTER_Handle *h,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls)
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls)
{
struct TALER_TWISTER_Operation *op;
struct GNUNET_MQ_Envelope *env;
@@ -253,7 +253,7 @@ TALER_TWISTER_malform_upload
op);
/* Prepare *env*elope. */
env = GNUNET_MQ_msg
- (src, TWISTER_MESSAGE_TYPE_MALFORM_UPLOAD);
+ (src, TWISTER_MESSAGE_TYPE_MALFORM_UPLOAD);
/* Send message. */
GNUNET_MQ_send (h->mq, env);
LOG (GNUNET_ERROR_TYPE_DEBUG,
@@ -274,8 +274,8 @@ TALER_TWISTER_malform_upload
struct TALER_TWISTER_Operation *
TALER_TWISTER_malform
(struct TALER_TWISTER_Handle *h,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls)
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls)
{
struct TALER_TWISTER_Operation *op;
struct GNUNET_MQ_Envelope *env;
@@ -290,7 +290,7 @@ TALER_TWISTER_malform
op);
/* Prepare *env*elope. */
env = GNUNET_MQ_msg
- (src, TWISTER_MESSAGE_TYPE_MALFORM);
+ (src, TWISTER_MESSAGE_TYPE_MALFORM);
/* Send message. */
GNUNET_MQ_send (h->mq, env);
LOG (GNUNET_ERROR_TYPE_DEBUG,
@@ -315,13 +315,13 @@ TALER_TWISTER_malform
struct TALER_TWISTER_Operation *
TALER_TWISTER_flip_download
(struct TALER_TWISTER_Handle *h,
- const char *path,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls)
+ const char *path,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls)
{
struct TALER_TWISTER_Operation *op;
struct GNUNET_MQ_Envelope *env;
- struct TWISTER_FlipPath *src; //FIXME 'src' right name?
+ struct TWISTER_FlipPath *src; // FIXME 'src' right name?
uint16_t stralloc;
stralloc = strlen (path) + 1;
@@ -366,13 +366,13 @@ TALER_TWISTER_flip_download
struct TALER_TWISTER_Operation *
TALER_TWISTER_flip_upload
(struct TALER_TWISTER_Handle *h,
- const char *path,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls)
+ const char *path,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls)
{
struct TALER_TWISTER_Operation *op;
struct GNUNET_MQ_Envelope *env;
- struct TWISTER_FlipPath *src; //FIXME 'src' right name?
+ struct TWISTER_FlipPath *src; // FIXME 'src' right name?
uint16_t stralloc = strlen (path) + 1;
if (stralloc + sizeof (struct TWISTER_FlipPath) > UINT16_MAX)
@@ -404,6 +404,7 @@ TALER_TWISTER_flip_upload
return op;
}
+
/**
* Delete the object pointed to by @a path. Note, this
* object belongs to the JSON response object.
@@ -419,13 +420,13 @@ TALER_TWISTER_flip_upload
struct TALER_TWISTER_Operation *
TALER_TWISTER_delete_path
(struct TALER_TWISTER_Handle *h,
- const char *path,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls)
+ const char *path,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls)
{
struct TALER_TWISTER_Operation *op;
struct GNUNET_MQ_Envelope *env;
- struct TWISTER_DeletePath *src; //FIXME 'src' right name?
+ struct TWISTER_DeletePath *src; // FIXME 'src' right name?
uint16_t stralloc;
stralloc = strlen (path) + 1;
@@ -453,6 +454,7 @@ TALER_TWISTER_delete_path
return op;
}
+
/**
* Change the response field pointed by @a modify_path with
* @a modify_value.
@@ -619,9 +621,9 @@ TALER_TWISTER_modify_header_dl (struct TALER_TWISTER_Handle
*h,
struct TALER_TWISTER_Operation *
TALER_TWISTER_change_response_code
(struct TALER_TWISTER_Handle *h,
- unsigned int new_rc,
- GNUNET_SCHEDULER_TaskCallback cb,
- void *cb_cls)
+ unsigned int new_rc,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls)
{
struct TALER_TWISTER_Operation *op;
struct GNUNET_MQ_Envelope *env;
@@ -636,7 +638,7 @@ TALER_TWISTER_change_response_code
op);
/* Prepare *env*elope. */
env = GNUNET_MQ_msg
- (src, TWISTER_MESSAGE_TYPE_SET_RESPONSE_CODE);
+ (src, TWISTER_MESSAGE_TYPE_SET_RESPONSE_CODE);
/* Put data into the envelope. */
src->response_code = htonl ((uint32_t) new_rc);
/* Send message. */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-twister] branch master updated: fix typos,
gnunet <=