diff options
Diffstat (limited to 'src/transport.h')
| -rw-r--r-- | src/transport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport.h b/src/transport.h index be358e1..7fcbdb3 100644 --- a/src/transport.h +++ b/src/transport.h @@ -8,10 +8,10 @@ struct SizedBlock { size_t size; }; -#define MAX_URL_BUFLEN 256 +#define MAX_URL_BUFLEN 512 #define NEW_DEVICE_TOKEN_URL "https://webapp-prod.cloud.remarkable.engineering/token/json/2/device/new" #define NEW_USER_TOKEN_URL "https://webapp-prod.cloud.remarkable.engineering/token/json/2/user/new" #define GET_ROOT_URL "https://internal.cloud.remarkable.com/sync/v4/root" -#define GET_BLOB_URL "https://internal.cloud.remarkable.com/sync/v4/files/%s" +#define GET_BLOB_URL "https://internal.cloud.remarkable.com/sync/v4/files/%.*s" enum ReturnCode transport_request(char *url, char *token, char *reqBody, struct SizedBlock *retBody); |
