net: zoap: Minor comment style fixes
Change-Id: I8f63781a39263e110aec2e6f1e14d72650ce4e30 Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
This commit is contained in:
parent
6740e691e8
commit
9d0a484690
1 changed files with 2 additions and 4 deletions
|
@ -169,8 +169,7 @@ static bool match_attributes(const char * const *attributes,
|
||||||
{
|
{
|
||||||
const char * const *attr;
|
const char * const *attr;
|
||||||
|
|
||||||
/*
|
/* FIXME: deal with the case when there are multiple options in a
|
||||||
* FIXME: deal with the case when there are multiple options in a
|
|
||||||
* query, for example: 'rt=lux temperature', if I want to list
|
* query, for example: 'rt=lux temperature', if I want to list
|
||||||
* resources with resource type lux or temperature.
|
* resources with resource type lux or temperature.
|
||||||
*/
|
*/
|
||||||
|
@ -288,8 +287,7 @@ int _zoap_well_known_core_get(struct zoap_resource *resource,
|
||||||
id = zoap_header_get_id(request);
|
id = zoap_header_get_id(request);
|
||||||
token = zoap_header_get_token(request, &tkl);
|
token = zoap_header_get_token(request, &tkl);
|
||||||
|
|
||||||
/*
|
/* Per RFC 6690, Section 4.1, only one (or none) query parameter may be
|
||||||
* Per RFC 6690, Section 4.1, only one (or none) query parameter may be
|
|
||||||
* provided, use the first if multiple.
|
* provided, use the first if multiple.
|
||||||
*/
|
*/
|
||||||
r = zoap_find_options(request, ZOAP_OPTION_URI_QUERY, &query, 1);
|
r = zoap_find_options(request, ZOAP_OPTION_URI_QUERY, &query, 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue