Fixed refresh key segfault

This commit is contained in:
rexy712 2019-03-26 11:22:52 -07:00
parent 2c64d8f16d
commit 4b8b7e3918

View File

@ -484,6 +484,7 @@ namespace reddit{
m_curl.setuserpwd(userpwd);
m_curl.setpostdata(postdata);
m_curl.setuseragent(m_useragent);
m_curl.setheader(raii::curl_llist());
m_curl.setopt(CURLOPT_MAXREDIRS, 50L);
m_curl.setopt(CURLOPT_FOLLOWLOCATION, 1L);
m_curl.forcessl(CURL_SSLVERSION_TLSv1_2);