Skip to content

Commit

Permalink
fix Windows build error
Browse files Browse the repository at this point in the history
  • Loading branch information
spikelin committed Aug 4, 2020
1 parent e398ffa commit 7ffb37c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions sdk_src/services/rrpc/rrpc_client.c
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ extern "C" {

static char sg_process_id_buffer[MAX_RRPC_PROCESS_ID_LEN + 1] = {0}; // process id buffer

/*static int _iot_construct_rrpc_json(void *client, char *jsonBuffer, size_t sizeOfBuffer, sRRPCReplyPara *replyPara)
{
return QCLOUD_RET_SUCCESS;
}*/

static int _publish_rrpc_to_cloud(void *client, const char *processId, char *pJsonDoc)
{
IOT_FUNC_ENTRY;
Expand Down Expand Up @@ -169,13 +164,6 @@ int IOT_RRPC_Reply(void *pClient, char *pJsonDoc, size_t sizeOfBuffer, sRRPCRepl
{
int rc = QCLOUD_RET_SUCCESS;

// TODO:数据格式暂不确定
/*rc = _iot_construct_rrpc_json(pClient, pJsonDoc, sizeOfBuffer, replyPara);
if (rc != QCLOUD_RET_SUCCESS) {
Log_e("construct rrpc json fail, %d", rc);
return rc;
}*/

rc = _publish_rrpc_to_cloud(pClient, sg_process_id_buffer, pJsonDoc);
if (rc < 0) {
Log_e("publish rrpc to cloud fail, %d", rc);
Expand Down

0 comments on commit 7ffb37c

Please sign in to comment.