Merge branch 'ward-working'

This commit is contained in:
Ward Fisher 2015-02-24 11:17:28 -07:00
commit 806f075f1f

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;
}