diff options
Diffstat (limited to 'libwardrobe/src')
-rw-r--r-- | libwardrobe/src/Makefile.am | 6 | ||||
-rw-r--r-- | libwardrobe/src/main.c | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/libwardrobe/src/Makefile.am b/libwardrobe/src/Makefile.am deleted file mode 100644 index 470635a..0000000 --- a/libwardrobe/src/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -lib_LTLIBRARIES = libwardrobe.la - -libwardrobe_la_SOURCES = main.c md5.c md5.h -include_HEADERS = wardrobe.h -libwardrobe_la_CPPFLAGS = ${LIBCURL_CFLAGS} -libwardrobe_la_LIBADD = ${LIBCURL_LIBS} diff --git a/libwardrobe/src/main.c b/libwardrobe/src/main.c index abf669d..1872c69 100644 --- a/libwardrobe/src/main.c +++ b/libwardrobe/src/main.c @@ -107,7 +107,7 @@ void WardrobeHttpPost (CURL *ch, const char *url, const char *postData, void WardrobeInit (WardrobeHandle_t *wh) { memset (wh, 0, sizeof (*wh)); wh->ch = curl_easy_init (); - curl_easy_setopt (wh->ch, CURLOPT_USERAGENT, PACKAGE_STRING); + curl_easy_setopt (wh->ch, CURLOPT_USERAGENT, PACKAGE); curl_easy_setopt (wh->ch, CURLOPT_CONNECTTIMEOUT, 60); } |