mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
ERR: We should really copy the address and not the value
This commit is contained in:
@@ -876,10 +876,10 @@ CURLFORMcode FormAdd(struct curl_httppost **httppost,
|
||||
{
|
||||
/* this "cast increases required alignment of target type" but
|
||||
we consider it OK anyway */
|
||||
struct curl_slist* list;
|
||||
struct curl_slist* list=0;
|
||||
if ( array_state )
|
||||
{
|
||||
memcpy(list, array_value, sizeof(struct curl_slist*));
|
||||
memcpy(&list, &array_value, sizeof(struct curl_slist*));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user