diff options
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); } |