Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/boxapi.c b/boxapi.c 2index 4964273..e4b7404 100644 3--- a/boxapi.c 4+++ b/boxapi.c 5@@ -29,6 +29,7 @@ 6 #include <curl/curl.h> 7 8 #include <libxml/hash.h> 9+#include <libxml/parser.h> 10 11 #include <libapp/app.h> 12 /* Building blocks for OpenBox api endpoints 13@@ -38,8 +39,8 @@ 14 // AUTH 15 #define API_KEY_VAL "f9ss11y2w0hg5r04jsidxlhk4pil28cf" 16 #define API_SECRET "r3ZHAIhsOL2FoHjgERI9xf74W5skIM0w" 17-#define API_OAUTH_URL "https://app.box.com/api/oauth2/" //"https://www.box.com/api/oauth2/" 18-#define API_OAUTH_AUTHORIZE API_OAUTH_URL "authorize?response_type=code&client_id=" API_KEY_VAL /*"&redirect_uri=http%3A//localhost"*/ 19+#define API_OAUTH_URL "https://api.box.com/oauth2/" //"https://www.box.com/api/oauth2/" 20+#define API_OAUTH_AUTHORIZE "https://app.box.com/api/oauth2/authorize?response_type=code&client_id=" API_KEY_VAL /*"&redirect_uri=http%3A//localhost"*/ 21 #define API_OAUTH_TOKEN API_OAUTH_URL "token" 22 // CALLS 23 #define API_ENDPOINT "https://api.box.com/2.0/"