Merge branch 'master' into NCF-325

This commit is contained in:
Quincey Koziol 2015-02-25 09:27:20 -06:00
commit 67131dbc7c

View File

@ -275,7 +275,7 @@ oc_set_curl_options(OCstate* state)
stat = ocset_curlopt(state,ocflag->flag,cvt(triple->value,ocflag->type));
}
done:
if(hostport && *hostport != "") free(hostport);
if(hostport && strcmp(hostport,"") != 0) free(hostport);
return stat;
}