summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index 69f7bec..a025b9c 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -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);
}