]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.c
support passing extra headers in POST requests; but this is not used yet
[xonotic/darkplaces.git] / prvm_cmds.c
index 5702665bb1926ad1f6ebb2aefdcc3f8d81277bc3..d89214c163a3a937772b50db99be0f5362e7ae68 100644 (file)
@@ -5932,7 +5932,7 @@ void VM_uri_get (void)
                        handle->postdata = signed_data;
                        handle->postlen = signed_size;
                }
-               ret = Curl_Begin_ToMemory_POST(url, 0, posttype, handle->postdata, handle->postlen, (unsigned char *) handle->buffer, sizeof(handle->buffer), uri_to_string_callback, handle);
+               ret = Curl_Begin_ToMemory_POST(url, NULL, 0, posttype, handle->postdata, handle->postlen, (unsigned char *) handle->buffer, sizeof(handle->buffer), uri_to_string_callback, handle);
        }
        else
        {