|
@ -71,7 +71,7 @@ char *stats_JSON(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson,char *r |
|
|
//printf("got hello from %s:%u\n",ipaddr!=0?ipaddr:"",argport);
|
|
|
//printf("got hello from %s:%u\n",ipaddr!=0?ipaddr:"",argport);
|
|
|
return(0); |
|
|
return(0); |
|
|
} |
|
|
} |
|
|
else*/ if ( strcmp(method,"sendmessage") == 0 && jobj(argjson,"method2") != 0 ) |
|
|
else*/ if ( strcmp(method,"sendmessage") == 0 )//&& jobj(argjson,"method2") != 0 )
|
|
|
{ |
|
|
{ |
|
|
static char *laststr; |
|
|
static char *laststr; |
|
|
char *newstr; bits256 pubkey = jbits256(argjson,"pubkey"); |
|
|
char *newstr; bits256 pubkey = jbits256(argjson,"pubkey"); |
|
|