anetTcpGenericConnect(), jump to error not end on error
anetTcpGenericConnect(), jump to error not end on error

Two code paths jumped to the "ok, return the socket to the user" code
path to handle error conditions.

Related to issues #2609 and #2612.

wangyikai/redis,hedisdb/hedis,YuraLukashik/redis,tanghaodong25/redis,cloudrain21/redis,itamarhaber/redis,wenxueliu/redis_comment,MasahikoSawada/redis,yossigo/redis,ouyangkongtong/redis,elkingtonmcb/redis,cusspvz/redis,fengshao0907/redis,ipmobiletech/redis,StevenTsai/redis,supasate/redis,ouyangkongtong/redis,wangyikai/redis,tjschuck/redis,vincent-vivian-liu/redis,NBSW/redis,wangyikai/redis,StevenTsai/redis,taoguan/redis,holstvoogd/redis,4396/redis,ouyangkongtong/redis,GitHubMota/redis,takeshineshiro/redis,charsyam/redis,Markgorden/redis,YuraLukashik/redis,harrisonfeng/redis,rouzier/redis,jingjidejuren/redis,shining-yang/redis,JoeWoo/redis,july2993/redis,190235047/redis,SummonY/redis,simplestbest/redis,mverrilli/redis,takeshineshiro/redis,PKRoma/redis,cloudrain21/redis,gaoxianglong/redis,SyntaxStacks/redis,itamarhaber/redis,zczhuohuo/redis,ErikDubbelboer/redis,honestme/redis,brg-liuwei/redis,Markgorden/redis,arijitvt/redis,mumingv/redis,blackmady/redis,rogerchina/redis,pcarrier/redis,shining-yang/redis,ytjiang/redis,antirez/redis,GitHubMota/redis,neomantra/redis,netroby/redis,YuanZhewei/redis,wenxueliu/redis_comment,wangyikai/redis,supasate/redis,z-fork/redis,atreeyang/redis,tellapart/redis,shining-yang/redis,neomantra/redis,csuhawk/redis,kmiku7/redis,AALEKH/redis,antirez/redis,AplayER/redis,twskipper/redis,jackyan/redis,wprice/redis,programmecat/redis,hawkchch/redis,190235047/redis,itugs/redis,pcarrier/redis,charsyam/redis,colstrom/redis,tellapart/redis,soloestoy/redis,riyan8250/redis,flashbuckets/redis,brg-liuwei/redis,soloestoy/redis,holstvoogd/redis,antirez/redis,mgk/redis,yuhc/redis-benchmark-enhanced,pcarrier/redis,allengaller/redis,ytjiang/redis,zhcy/redis,shreesundara/redis,hgl888/redis,xujunhai1991/redis,qiyang0221/redis,hedisdb/hedis,OmarQunsul/graph-redis,Soledad89/redis,pedigree/redis,devaos/redis,xujunhai1991/redis,a-pavlov/redis,simplestbest/redis,cnbin/redis,AplayER/redis,ituncle/redis,seandsky/redis,cusspvz/redis,mengyou0304/redis,jingjidejuren/redis,takeshineshiro/redis,YuanZhewei/redis,GrimDerp/redis,spinlock/redis,gaoxianglong/redis,MasahikoSawada/redis,izhoujie/redis,ipmobiletech/redis,aim-for-better/redis,NBSW/redis,kaushik94/redis,weizijun/redis,wenxueliu/redis_comment,linfangrong/redis,StevenTsai/redis,mumingv/redis,4396/redis,honestme/redis,guker/redis,CodeJuan/redis,hgl888/redis,oranagra/redis,csuhawk/redis,SyntaxStacks/redis,CodeJuan/redis,brg-liuwei/redis,SummonY/redis,zhcy/redis,seandsky/redis,fengshao0907/redis,zhcy/redis,GitHubMota/redis,oranagra/redis,pmem/redis,CodeJuan/redis,GrimDerp/redis,wprice/redis,colstrom/redis,JoeWoo/redis,wbailey5/redis,itugs/redis,valdsJohn/redis,ton31337/redis,Soledad89/redis,mcanthony/redis,yossigo/redis,zhiliaoniu/redis,shreesundara/redis,yuhc/redis-benchmark-enhanced,oranagra/redis,kaushik94/redis,AALEKH/redis,xlzhan/redis,rouzier/redis,spinlock/redis,jackyan/redis,kensou97/redis,hornen/redis,YuanZhewei/redis,soloestoy/redis,aim-for-better/redis,holstvoogd/redis,h0x91b/redis,badboy/redis,janekmi/redis,linfangrong/redis,qiyang0221/redis,xlzhan/redis,mingyaaaa/redis,supasate/redis,kaushik94/redis,mcanthony/redis,programmecat/redis,oranagra/redis,twskipper/redis,wprice/redis,honestme/redis,izhoujie/redis,LongXQ/redis,cusspvz/redis,atreeyang/redis,huyuezheng/redis,PradheepShrinivasan/redis,mverrilli/redis,h0x91b/redis,modulexcite/redis,modulexcite/redis,YuraLukashik/redis,cnbin/redis,sunheehnus/redis,shreesundara/redis,ofirluzon/redis,devaos/redis,netroby/redis,guker/redis,ctripcorp/redis,Wangyao14cyy/redis,seppo0010/redis,soveran/redis,davidradunz/redis,elkingtonmcb/redis,zczhuohuo/redis,kmiku7/redis,netroby/redis,wenxueliu/redis_comment,tellapart/redis,xlzhan/redis,mingyaaaa/redis,hawkchch/redis,pcarrier/redis,mverrilli/redis,NBSW/redis,Sciumo/redis,huyuezheng/redis,csuhawk/redis,davidradunz/redis,hedisdb/hedis,ton31337/redis,fengshao0907/redis,blackmady/redis,z-fork/redis,ErikDubbelboer/redis,mcanthony/redis,NBSW/redis,taoguan/redis,weizijun/redis,saisai/redis,gaoxianglong/redis,ituncle/redis,davidradunz/redis,seandsky/redis,blackmady/redis,OmarQunsul/graph-redis,yossigo/redis,cusspvz/redis,xuguruogu/redis,CodeJuan/redis,rogerchina/redis,nnog/redis,AplayER/redis,rogerchina/redis,190235047/redis,cloudrain21/redis,ctripcorp/redis,ituncle/redis,rouzier/redis,izhoujie/redis,universsky/redis,badboy/redis,weizijun/redis,yuhc/redis-benchmark-enhanced,z-fork/redis,LongXQ/redis,ton31337/redis,davidradunz/redis,zguangyu/redis,ctripcorp/redis,arijitvt/redis,ouyangkongtong/redis,tjschuck/redis,zczhuohuo/redis,ipmobiletech/redis,Aliceljm1/redis,mengyou0304/redis,Aliceljm1/redis,kensou97/redis,tanghaodong25/redis,nnog/redis,aim-for-better/redis,soveran/redis,mengyou0304/redis,universsky/redis,kaushik94/redis,clamoriniere1A/redis,guker/redis,seppo0010/redis,ytjiang/redis,tanghaodong25/redis,h0x91b/redis,hedisdb/hedis,duanx/redis,atreeyang/redis,neomantra/redis,linfangrong/redis,YongMan/redis,arijitvt/redis,clamoriniere1A/redis,4396/redis,jackyan/redis,AplayER/redis,flashbuckets/redis,JoeWoo/redis,Soledad89/redis,mumingv/redis,blackmady/redis,duanx/redis,july2993/redis,PradheepShrinivasan/redis,SyntaxStacks/redis,itugs/redis,hornen/redis,hgl888/redis,zczhuohuo/redis,z-fork/redis,jingjidejuren/redis,elkingtonmcb/redis,oranagra/redis,mumingv/redis,OmarQunsul/graph-redis,tjschuck/redis,vincent-vivian-liu/redis,JoeWoo/redis,arijitvt/redis,devaos/redis,ofirluzon/redis,duanx/redis,yossigo/redis,soveran/redis,riyan8250/redis,zguangyu/redis,kensou97/redis,devaos/redis,hornen/redis,universsky/redis,GrimDerp/redis,190235047/redis,csuhawk/redis,zhiliaoniu/redis,PKRoma/redis,ctripcorp/redis,duanx/redis,seppo0010/redis,dayuoba/redis,badboy/redis,programmecat/redis,programmecat/redis,ipmobiletech/redis,sunheehnus/redis,francischan714/redis,ituncle/redis,harrisonfeng/redis,brg-liuwei/redis,dreamquster/redis,YongMan/redis,YuanZhewei/redis,riyan8250/redis,rogerlz/redis,PradheepShrinivasan/redis,mingyaaaa/redis,charsyam/redis,holstvoogd/redis,dayuoba/redis,ofirluzon/redis,mingyaaaa/redis,netroby/redis,allengaller/redis,zguangyu/redis,yuhc/redis-benchmark-enhanced,modulexcite/redis,MasahikoSawada/redis,tanghaodong25/redis,rogerchina/redis,seppo0010/redis,soloestoy/redis,pmem/redis,wbailey5/redis,fengshao0907/redis,modulexcite/redis,neomantra/redis,Wangyao14cyy/redis,nnog/redis,july2993/redis,harrisonfeng/redis,guker/redis,harrisonfeng/redis,Aliceljm1/redis,YuraLukashik/redis,pkdevbox/redis,itamarhaber/redis,OmarQunsul/graph-redis,pedigree/redis,simplestbest/redis,spinlock/redis,GrimDerp/redis,tellapart/redis,ytjiang/redis,LongXQ/redis,pmem/redis,a-pavlov/redis,huyuezheng/redis,ofirluzon/redis,soloestoy/redis,cloudrain21/redis,jackyan/redis,flashbuckets/redis,SummonY/redis,zhcy/redis,mgk/redis,xuguruogu/redis,SyntaxStacks/redis,cnbin/redis,valdsJohn/redis,mcanthony/redis,GitHubMota/redis,charsyam/redis,hawkchch/redis,Wangyao14cyy/redis,zhiliaoniu/redis,yossigo/redis,gaoxianglong/redis,saisai/redis,antirez/redis,mengyou0304/redis,Markgorden/redis,mverrilli/redis,kmiku7/redis,neomantra/redis,janekmi/redis,taoguan/redis,PKRoma/redis,francischan714/redis,Aliceljm1/redis,tjschuck/redis,Markgorden/redis,shreesundara/redis,hawkchch/redis,kmiku7/redis,mgk/redis,pkdevbox/redis,cnbin/redis,ErikDubbelboer/redis,dayuoba/redis,twskipper/redis,xlzhan/redis,mgk/redis,janekmi/redis,Wangyao14cyy/redis,Soledad89/redis,pkdevbox/redis,xuguruogu/redis,itugs/redis,sunheehnus/redis,StevenTsai/redis,h0x91b/redis,elkingtonmcb/redis,sunheehnus/redis,dayuoba/redis,itamarhaber/redis,kensou97/redis,spinlock/redis,janekmi/redis,Sciumo/redis,twskipper/redis,honestme/redis,AALEKH/redis,wbailey5/redis,soveran/redis,july2993/redis,badboy/redis,dreamquster/redis,huyuezheng/redis,Sciumo/redis,YongMan/redis,4396/redis,colstrom/redis,takeshineshiro/redis,supasate/redis,valdsJohn/redis,francischan714/redis,vincent-vivian-liu/redis,PKRoma/redis,atreeyang/redis,linfangrong/redis,rogerlz/redis,wbailey5/redis,jingjidejuren/redis,clamoriniere1A/redis,a-pavlov/redis,riyan8250/redis,PKRoma/redis,Sciumo/redis,qiyang0221/redis,wprice/redis,vincent-vivian-liu/redis,weizijun/redis,zguangyu/redis,MasahikoSawada/redis,rogerlz/redis,zhiliaoniu/redis,AALEKH/redis,charsyam/redis,hgl888/redis,nnog/redis,izhoujie/redis,ofirluzon/redis,pmem/redis,simplestbest/redis,PradheepShrinivasan/redis,xujunhai1991/redis,valdsJohn/redis,flashbuckets/redis,a-pavlov/redis,pkdevbox/redis,ErikDubbelboer/redis,YongMan/redis,pedigree/redis,pedigree/redis,hornen/redis,saisai/redis,rouzier/redis,xuguruogu/redis,qiyang0221/redis,seandsky/redis,saisai/redis,clamoriniere1A/redis,taoguan/redis,dreamquster/redis,LongXQ/redis,shining-yang/redis,ton31337/redis,dreamquster/redis,allengaller/redis,xujunhai1991/redis,francischan714/redis,rogerlz/redis,aim-for-better/redis,SummonY/redis,allengaller/redis,universsky/redis,colstrom/redis