|
@ -817,7 +817,7 @@ char *issue_LP_psock(char *destip,uint16_t destport,int32_t ispaired,int32_t cmd |
|
|
char str[65],url[512],*retstr; |
|
|
char str[65],url[512],*retstr; |
|
|
sprintf(url,"http://%s:%u/api/stats/psock?ispaired=%d&cmdchannel=%d&pubkey=%s",destip,destport-1,ispaired,cmdchannel,bits256_str(str,G.LP_mypub25519)); |
|
|
sprintf(url,"http://%s:%u/api/stats/psock?ispaired=%d&cmdchannel=%d&pubkey=%s",destip,destport-1,ispaired,cmdchannel,bits256_str(str,G.LP_mypub25519)); |
|
|
//return(LP_issue_curl("psock",destip,destport,url));
|
|
|
//return(LP_issue_curl("psock",destip,destport,url));
|
|
|
retstr = issue_curlt(url,LP_HTTP_TIMEOUT*3); |
|
|
retstr = issue_curlt(url,LP_HTTP_TIMEOUT*10); |
|
|
printf("issue_LP_psock got (%s) from %s\n",retstr,url); // this is needed?!
|
|
|
printf("issue_LP_psock got (%s) from %s\n",retstr,url); // this is needed?!
|
|
|
return(retstr); |
|
|
return(retstr); |
|
|
} |
|
|
} |
|
|