From 19ecbb0ebad9a264c5c6e5c6e024d0c8af50c930 Mon Sep 17 00:00:00 2001 From: Ken Bannister Date: Fri, 17 Apr 2020 07:07:20 -0400 Subject: [PATCH] examples/gcoap: fix statement formatting --- examples/gcoap/gcoap_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gcoap/gcoap_cli.c b/examples/gcoap/gcoap_cli.c index 8585825f63..b3aca2db04 100644 --- a/examples/gcoap/gcoap_cli.c +++ b/examples/gcoap/gcoap_cli.c @@ -185,7 +185,7 @@ static ssize_t _stats_handler(coap_pkt_t* pdu, uint8_t *buf, size_t len, void *c /* read coap method type in packet */ unsigned method_flag = coap_method2flag(coap_get_code_detail(pdu)); - switch(method_flag) { + switch (method_flag) { case COAP_GET: gcoap_resp_init(pdu, buf, len, COAP_CODE_CONTENT); coap_opt_add_format(pdu, COAP_FORMAT_TEXT);