From f0dd1cf6cfe8161960240828d6620d97115134b5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 12 Apr 2019 07:08:57 -1100 Subject: [PATCH] Use files --- src/komodo_gateway.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 605afd271..9a8700c6f 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -2018,7 +2018,7 @@ uint32_t get_stockprices()//std::vector symbols) { char url[32768]; cJSON *json,*obj; uint32_t high,low,price = 0; sprintf(url,"https://api.iextrading.com/1.0/tops/last?symbols=AAPL"); - if ( (json= get_urljson(url)) != 0 ) + if ( (json= send_curl(url,(char *)"iex")) != 0 ) //if ( (json= get_urljson(url)) != 0 ) { fprintf(stderr,"%s -> %s\n",url,jprint(json,0)); free_json(json);