return 0 on error case, not -1
return 0 on error case, not -1

William-J-Earl/cloudproxy,William-J-Earl/cloudproxy,jlmucb/cloudproxy,jlmucb/cloudproxy,jlmucb/cloudproxy,kevinawalsh/cloudproxy,tmroeder/cloudproxy,jethrogb/cloudproxy,jethrogb/cloudproxy,tmroeder/cloudproxy,William-J-Earl/cloudproxy,cjpatton/cloudproxy,jlmucb/cloudproxy,jlmucb/cloudproxy,kevinawalsh/cloudproxy,cjpatton/cloudproxy,tmroeder/cloudproxy,William-J-Earl/cloudproxy,William-J-Earl/cloudproxy,jethrogb/cloudproxy,jethrogb/cloudproxy,cjpatton/cloudproxy,tmroeder/cloudproxy,tmroeder/cloudproxy,cjpatton/cloudproxy,cjpatton/cloudproxy,jethrogb/cloudproxy