summaryrefslogtreecommitdiff
path: root/libwardrobe
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-28 22:27:00 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-28 22:27:00 +0200
commitc5f91ad646b0f540407d113b27c20d79108ec24d (patch)
treea11c276c3239379fdabb8c9a56d9b8d985dea17a /libwardrobe
parent343270e6ad3f418a68a4feb220522018e98f458c (diff)
downloadpianobar-c5f91ad646b0f540407d113b27c20d79108ec24d.tar.gz
pianobar-c5f91ad646b0f540407d113b27c20d79108ec24d.tar.bz2
pianobar-c5f91ad646b0f540407d113b27c20d79108ec24d.zip
waitress: Fix bad request
Intruduced in commit 56d47cd3584322b0d2984935ff278424695a4abf
Diffstat (limited to 'libwardrobe')
-rw-r--r--libwardrobe/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libwardrobe/src/main.c b/libwardrobe/src/main.c
index af0a32b..84e9ad9 100644
--- a/libwardrobe/src/main.c
+++ b/libwardrobe/src/main.c
@@ -97,7 +97,7 @@ WardrobeReturn_t WardrobeHandshake (WardrobeHandle_t *wh) {
tmpDigest = WardrobeMd5Calc (wh->password);
snprintf (tmp, sizeof (tmp), "%s%li", tmpDigest, currTStamp);
pwDigest = WardrobeMd5Calc (tmp);
- snprintf (url, sizeof (url), "?hs=true&p=1.2&c=tst&v=1.0&u=%s&t=%li&a=%s",
+ snprintf (url, sizeof (url), "/?hs=true&p=1.2&c=tst&v=1.0&u=%s&t=%li&a=%s",
wh->user, currTStamp, pwDigest);
WaitressSetHPP (&wh->waith, "post.audioscrobbler.com", "80", url);