Skip to content

Commit

Permalink
[coding-style] auto generated coding style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng-SG committed Jul 17, 2018
1 parent c273e4a commit 29e7720
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions framework/protocol/linkkit/dm/src/dm_thing_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -1807,18 +1807,22 @@ static dm_cm_register_uri_handler_fp_t dm_cm_register_uri_handler_choose(
return NULL;
}

if (strstr(cm_message_info->URI,
string_method_name_thing_tsl_get_reply)) { /* thing/dsltemplate/get_reply
match */
if (
strstr(
cm_message_info->URI,
string_method_name_thing_tsl_get_reply)) { /* thing/dsltemplate/get_reply
match */
dm_cm_register_uri_handler_fp =
dm_cm_register_uri_handler_tsl_get_reply;
} else if (strstr(cm_message_info->URI,
string_method_name_property_set)) { /* thing/service/property/set
match */
} else if (
strstr(cm_message_info->URI,
string_method_name_property_set)) { /* thing/service/property/set
match */
dm_cm_register_uri_handler_fp = dm_cm_register_uri_handler_property_set;
} else if (strstr(cm_message_info->URI,
string_method_name_property_get)) { /* thing/service/property/get
match */
} else if (
strstr(cm_message_info->URI,
string_method_name_property_get)) { /* thing/service/property/get
match */
dm_cm_register_uri_handler_fp = dm_cm_register_uri_handler_property_get;
} else if (strstr(
cm_message_info->URI,
Expand All @@ -1836,14 +1840,18 @@ static dm_cm_register_uri_handler_fp_t dm_cm_register_uri_handler_choose(
dm_cm_register_uri_handler_fp = dm_cm_register_uri_handler_rrpc_request;
#endif /* RRPC_ENABLED */
#ifdef EXTENDED_INFO_ENABLED
} else if (strstr(cm_message_info->URI,
string_method_name_deviceinfo_update_reply)) { /* deviceinfo/update_reply.
*/
} else if (
strstr(
cm_message_info->URI,
string_method_name_deviceinfo_update_reply)) { /* deviceinfo/update_reply.
*/
dm_cm_register_uri_handler_fp =
dm_cm_register_uri_handler_deviceinfo_update_reply;
} else if (strstr(cm_message_info->URI,
string_method_name_deviceinfo_delete_reply)) { /* deviceinfo/delete_reply.
*/
} else if (
strstr(
cm_message_info->URI,
string_method_name_deviceinfo_delete_reply)) { /* deviceinfo/delete_reply.
*/
dm_cm_register_uri_handler_fp =
dm_cm_register_uri_handler_deviceinfo_delete_reply;
#endif /* EXTENDED_INFO_ENABLED*/
Expand Down

0 comments on commit 29e7720

Please sign in to comment.