summaryrefslogtreecommitdiff
path: root/src/player.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-01-31 19:33:40 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-01-31 19:33:40 +0100
commit9312c14b47a2d6e58238902d1424ae8d45d73ac5 (patch)
treea89ba3a812cf987e815dab6df2929f76dd914675 /src/player.c
parent46544ec5126051b8e933e6036c528c2e811e932e (diff)
downloadpianobar-9312c14b47a2d6e58238902d1424ae8d45d73ac5.tar.gz
pianobar-9312c14b47a2d6e58238902d1424ae8d45d73ac5.tar.bz2
pianobar-9312c14b47a2d6e58238902d1424ae8d45d73ac5.zip
Switch build system to cmake
lib{piano,wardrobe} are now static libraries and not installed any more.
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c
index cf22bfd..94c7969 100644
--- a/src/player.c
+++ b/src/player.c
@@ -251,7 +251,7 @@ void *BarPlayerThread (void *data) {
curl_easy_setopt (player->audioFd, CURLOPT_URL, player->url);
curl_easy_setopt (player->audioFd, CURLOPT_WRITEFUNCTION, BarPlayerCurlCb);
curl_easy_setopt (player->audioFd, CURLOPT_WRITEDATA, (void *) player);
- curl_easy_setopt (player->audioFd, CURLOPT_USERAGENT, PACKAGE_STRING);
+ curl_easy_setopt (player->audioFd, CURLOPT_USERAGENT, PACKAGE);
curl_easy_setopt (player->audioFd, CURLOPT_CONNECTTIMEOUT, 60);
/* start downloading from beginning of file */
curl_easy_setopt (player->audioFd, CURLOPT_RESUME_FROM, 0);