The callback writing the CURL reply to a file. */
| 245 | |
| 246 | /* The callback writing the CURL reply to a file. */ |
| 247 | size_t makeHTTPGETCallWriterFILE(char *ptr, size_t size, size_t nmemb, void *userdata) |
| 248 | { |
| 249 | UNUSED(size); |
| 250 | FILE **fp = userdata; |
| 251 | return fwrite(ptr,1,nmemb,*fp); |
| 252 | } |
| 253 | |
| 254 | |
| 255 | /* Request the specified URL in a blocking way, returns the content (or |
nothing calls this directly
no outgoing calls
no test coverage detected