Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guzba committed Jan 20, 2024
1 parent bf10998 commit 1d06145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/curly.nim
Original file line number Diff line number Diff line change
@@ -431,7 +431,7 @@ proc makeRequest*(
rw.url = move url
rw.headers = move headers
if body.len > 0:
rw.body = body[0].addr
rw.body = body[0].unsafeAddr
rw.bodyLen = body.len
rw.timeout = timeout
rw.waitGroup = newWaitGroup(1)
@@ -554,7 +554,7 @@ proc makeRequests*(
rw.url = request.url
rw.headers = request.headers
if request.body.len > 0:
rw.body = request.body[0].addr
rw.body = request.body[0].unsafeAddr
rw.bodyLen = request.body.len
rw.timeout = timeout
rw.tag = request.tag

0 comments on commit 1d06145

Please sign in to comment.