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 |
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 --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
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(-)