| 186 | }; |
| 187 | |
| 188 | static char *xml_entities(const char *s) |
| 189 | { |
| 190 | struct strbuf buf = STRBUF_INIT; |
| 191 | strbuf_addstr_xml_quoted(&buf, s); |
| 192 | return strbuf_detach(&buf, NULL); |
| 193 | } |
| 194 | |
| 195 | static void curl_setup_http_get(CURL *curl, const char *url, |
| 196 | const char *custom_req) |
no test coverage detected