From c5f91ad646b0f540407d113b27c20d79108ec24d Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 28 May 2009 22:27:00 +0200 Subject: waitress: Fix bad request Intruduced in commit 56d47cd3584322b0d2984935ff278424695a4abf --- libwardrobe/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3