diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-06-08 17:55:40 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-06-13 20:19:34 +0200 |
commit | 09355b9299ddfa80465aff01b94e9d4e3f5c1961 (patch) | |
tree | 9af0f3c5f6f3d41771eba6d55185f363c2e3cb3e /src/ui.c | |
parent | 3aff781a610e69a4e49d5db386b9885f1f167451 (diff) | |
download | pianobar-09355b9299ddfa80465aff01b94e9d4e3f5c1961.tar.gz pianobar-09355b9299ddfa80465aff01b94e9d4e3f5c1961.tar.bz2 pianobar-09355b9299ddfa80465aff01b94e9d4e3f5c1961.zip |
waitress: Rewrite split url
Accepts user and password in urls now. Tests added.
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ static WaitressReturn_t BarPianoHttpRequest (WaitressHandle_t *waith, waith->extraHeaders = "Content-Type: text/xml\r\n"; waith->postData = req->postData; waith->method = WAITRESS_METHOD_POST; - strncpy (waith->path, req->urlPath, sizeof (waith->path)-1); + waith->url.path = req->urlPath; return WaitressFetchBuf (waith, &req->responseData); } |