We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 226897e commit e1ee0beCopy full SHA for e1ee0be
makefile
@@ -34,7 +34,7 @@ DBGFLAGS = -g -fsanitize=address
34
35
# set local lib to lib/*/*.a
36
LOCAL_LIBS = $(wildcard lib/*/*.a)
37
-LIBS = ${LOCAL_LIBS} -lcurl -lsqlite3 -lm -lcrypto
+LIBS = ${LOCAL_LIBS} -lcurl -lm -lcrypto
38
39
# change these to proper directories where each file should be
40
SRCDIR = src
src/download.c
@@ -17,6 +17,7 @@ int download(char* url, FILE* fp)
17
if(curl)
18
{
19
CURLcode res;
20
+ curl_easy_setopt(curl, CURLOPT_USERAGENT, "CCCP/1.0 (https://www.sovietlinux.org/)");
21
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
22
curl_easy_setopt(curl, CURLOPT_URL, url);
23
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, NULL);
0 commit comments