fixes curl returning to big of a response
This commit is contained in:
parent
e879a947d8
commit
5392d6c936
@ -5,8 +5,8 @@
|
||||
|
||||
#include "include/curl.h"
|
||||
|
||||
#define API_URL "https://openlibrary.org/search.json?q="
|
||||
#define API_URL_LEN 38
|
||||
#define API_URL "https://openlibrary.org/search.json?page=1&q="
|
||||
#define API_URL_LEN 45
|
||||
|
||||
static void setup_api_link(const char* isbn, char** buf)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user