diff mbox series

[1/3] server_hawkbit: fix typo in function name s/hakwbit/hawkbit/

Message ID 20211122031518.2201903-1-dominique.martinet@atmark-techno.com
State Accepted
Headers show
Series [1/3] server_hawkbit: fix typo in function name s/hakwbit/hawkbit/ | expand

Commit Message

Dominique Martinet Nov. 22, 2021, 3:15 a.m. UTC
Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
---

silly typos like this are hard to notice... I just stumbled upon this.


 suricatta/server_hawkbit.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Stefano Babic Nov. 24, 2021, 6:44 p.m. UTC | #1
On 22.11.21 04:15, Dominique Martinet wrote:
> Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
> ---
> 
> silly typos like this are hard to notice... I just stumbled upon this.
> 
> 
>   suricatta/server_hawkbit.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/suricatta/server_hawkbit.c b/suricatta/server_hawkbit.c
> index 86f050dc2c86..70f402645a16 100644
> --- a/suricatta/server_hawkbit.c
> +++ b/suricatta/server_hawkbit.c
> @@ -155,7 +155,7 @@ unsigned int server_get_polling_interval(void);
>   /*
>    * Just called once to setup the tokens
>    */
> -static inline void server_hakwbit_settoken(const char *type, const char *token)
> +static inline void server_hawkbit_settoken(const char *type, const char *token)
>   {
>   	char *tokens_header = NULL;
>   	if (!token)
> @@ -1869,8 +1869,8 @@ server_op_res_t server_start(char *fname, int argc, char *argv[])
>   				"but just one at a time is supported.\n");
>   		exit(EXIT_FAILURE);
>   	}
> -	server_hakwbit_settoken("TargetToken", server_hawkbit.targettoken);
> -	server_hakwbit_settoken("GatewayToken", server_hawkbit.gatewaytoken);
> +	server_hawkbit_settoken("TargetToken", server_hawkbit.targettoken);
> +	server_hawkbit_settoken("GatewayToken", server_hawkbit.gatewaytoken);
>   
>   	/*
>   	 * Allocate a channel to communicate with the server
> 

Applied to -master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/suricatta/server_hawkbit.c b/suricatta/server_hawkbit.c
index 86f050dc2c86..70f402645a16 100644
--- a/suricatta/server_hawkbit.c
+++ b/suricatta/server_hawkbit.c
@@ -155,7 +155,7 @@  unsigned int server_get_polling_interval(void);
 /*
  * Just called once to setup the tokens
  */
-static inline void server_hakwbit_settoken(const char *type, const char *token)
+static inline void server_hawkbit_settoken(const char *type, const char *token)
 {
 	char *tokens_header = NULL;
 	if (!token)
@@ -1869,8 +1869,8 @@  server_op_res_t server_start(char *fname, int argc, char *argv[])
 				"but just one at a time is supported.\n");
 		exit(EXIT_FAILURE);
 	}
-	server_hakwbit_settoken("TargetToken", server_hawkbit.targettoken);
-	server_hakwbit_settoken("GatewayToken", server_hawkbit.gatewaytoken);
+	server_hawkbit_settoken("TargetToken", server_hawkbit.targettoken);
+	server_hawkbit_settoken("GatewayToken", server_hawkbit.gatewaytoken);
 
 	/*
 	 * Allocate a channel to communicate with the server