Libcurl CURLOPT_WRITEFUNCTION callback function error
Go to solution
Solved by Mr_KoKa,
DownloadFile::write_callback has to be static. Add static keyword before function return type (size_t) like so:
static size_t DownloadFile::write_callback(char *ptr, size_t size, size_t nmemb, void *userdata)
-
Featured Topics
-
Topics
-
4
-
oussch ·
Posted in Troubleshooting0 -
vadugs ·
Posted in Troubleshooting1 -
Katze ·
Posted in Folding@home, Boinc, and Coin Mining1 -
Slamp ·
Posted in Troubleshooting0 -
1stef ·
Posted in Troubleshooting0 -
Steiger2010 ·
Posted in Graphics Cards3 -
ABADDON Aamir ·
Posted in Displays2 -
2
-
1
-
-
play_circle_filled
Latest From ShortCircuit:
Lian-Li, do this on all of your cases! - Lian-Li O11D x Lamborghini
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now