aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2018-09-12 03:14:20 -0400
committerJay Satiro <raysatiro@yahoo.com>2018-09-12 03:14:20 -0400
commit357161accda84cf678c579c652429d529e56db80 (patch)
treefa46187889f3b313cdd567d8d092db14d9810961 /lib/transfer.c
parent11e8a43f853b9bf050db58f073e6f2411821ce60 (diff)
openssl: fix gcc8 warning
- Use memcpy instead of strncpy to copy a string without termination, since gcc8 warns about using strncpy to copy as many bytes from a string as its length. Suggested-by: Viktor Szakats Closes https://github.com/curl/curl/issues/2980
Diffstat (limited to 'lib/transfer.c')
0 files changed, 0 insertions, 0 deletions