diff options
Diffstat (limited to 'src/supplemental/http')
| -rw-r--r-- | src/supplemental/http/http_msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplemental/http/http_msg.c b/src/supplemental/http/http_msg.c index 81c1b453..9a5bac68 100644 --- a/src/supplemental/http/http_msg.c +++ b/src/supplemental/http/http_msg.c @@ -591,7 +591,7 @@ nni_http_req_alloc(nni_http_req **reqp, const nni_url *url) if (url != NULL) { const char *host; int rv; - if ((req->uri = nni_strdup(url->u_rawpath)) == NULL) { + if ((req->uri = nni_strdup(url->u_requri)) == NULL) { NNI_FREE_STRUCT(req); return (NNG_ENOMEM); } |
