updated user agent string
This commit is contained in:
parent
0877ce750b
commit
d0cbd8b3ed
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
CC=gcc
|
||||
CFLAGS= -O2 -Wall -Wextra -lgumbo -lcurl -lfuse -lcrypto \
|
||||
CFLAGS= -g -Wall -Wextra -lgumbo -lcurl -lfuse -lcrypto \
|
||||
-D_FILE_OFFSET_BITS=64 -DHTTPDIRFS_INFO
|
||||
OBJ = main.o network.o
|
||||
|
||||
|
|
|
@ -400,7 +400,8 @@ static CURL *Link_to_curl(Link *link)
|
|||
}
|
||||
|
||||
/* set up some basic curl stuff */
|
||||
curl_easy_setopt(curl, CURLOPT_USERAGENT, "mount-http-dir/libcurl");
|
||||
curl_easy_setopt(curl, CURLOPT_USERAGENT, "httpdirfs - \
|
||||
https://github.com/fangfufu/httpdirfs");
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 0);
|
||||
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
|
||||
/* for following directories without the '/' */
|
||||
|
|
Loading…
Reference in New Issue