|
|
@ -334,7 +334,7 @@ char *LP_process_message(void *ctx,char *typestr,char *myipaddr,int32_t pubsock, |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
LP_queuecommand(0,jsonstr,pubsock,0); |
|
|
|
LP_queuecommand(0,jsonstr,pubsock,0,0); |
|
|
|
//if ( (retstr= LP_command_process(ctx,myipaddr,pubsock,argjson,&((uint8_t *)ptr)[len],recvlen - len)) != 0 )
|
|
|
|
//{
|
|
|
|
//}
|
|
|
@ -417,7 +417,7 @@ int32_t LP_sock_check(char *typestr,void *ctx,char *myipaddr,int32_t pubsock,int |
|
|
|
//printf("self broadcast.(%s)\n",Broadcaststr);
|
|
|
|
str = Broadcaststr; |
|
|
|
Broadcaststr = 0; |
|
|
|
LP_queuecommand(0,str,pubsock,0); |
|
|
|
LP_queuecommand(0,str,pubsock,0,0); |
|
|
|
/*if ( (argjson= cJSON_Parse(str)) != 0 )
|
|
|
|
{ |
|
|
|
//portable_mutex_lock(&LP_commandmutex);
|
|
|
|