fixed variable name

This commit is contained in:
jcli
2016-10-19 13:59:55 -07:00
parent 4dd3e87a50
commit b953048cf2

View File

@@ -108,7 +108,7 @@ int DialServer::sendCommand(
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &responseBody);
res = curl_easy_perform(curl);
if (curl_slist!=NULL) curl_slist_free_all(slist);
if (slist!=NULL) curl_slist_free_all(slist);
curl_easy_cleanup(curl);
curl_global_cleanup();
return (res == CURLE_OK);