Cluster: fixed a bug in clusterSendPublish() due to inverted statements.
Cluster: fixed a bug in clusterSendPublish() due to inverted statements.

The code used to copy the header *after* the 'hdr' pointer was already
switched to the new buffer. Of course we need to do the reverse.

Soledad89/redis,cloudrain21/redis,YongMan/redis,wujf/redis,francischan714/redis,YuanZhewei/redis,xuguruogu/redis,pmem/redis,AALEKH/redis,whille/redis-3.0-annotated,ncopa/redis,soloestoy/redis,takeshineshiro/redis,ouyangkongtong/redis,badboy/redis,arijitvt/redis,MOON-CLJ/redis,nuxeh/redis,simplestbest/redis,yuzhangjob/redis-3.0-annotated-unstable,maodeyi/redis_lua,shreesundara/redis,xujunhai1991/redis,kensou97/redis,jbochi/redis,Aliceljm1/redis-3.0-annotated,valdsJohn/redis,hawkchch/redis,seppo0010/redis,harrisonfeng/redis,duanx/redis,riyan8250/redis,pcarrier/redis,sunheehnus/redis,magastzheng/redis-3.0-annotated,netroby/redis,z-fork/redis,cusspvz/redis,GitHubMota/redis,hornen/redis,dreamquster/redis,twskipper/redis,CodeJuan/redis,GitHubMota/redis,kaushik94/redis,jxwr/redis,timothyohare/3rdPartySrc-redis,OmarQunsul/graph-redis,fankeke/redis-3.0-annotated,clamoriniere1A/redis,yuhc/redis-benchmark-enhanced,Sciumo/redis,josiahcarlson/redis,wuyu201321060203/redis-3.0-annotated,dreamquster/redis,j0hnma/szredis,Aaron1992/redis,z-fork/redis,a-pavlov/redis,izhoujie/redis,zhaobo1023/redis-3.0-annotated,msn217/redis-3.0-annotated,Aliceljm1/redis-3.0-annotated,nuxeh/redis,soloestoy/redis,jacklee0810/redis-3.0-annotated,ouyangkongtong/redis,HeartSaVioR/redis,wangyikai/redis,taoguan/redis,ton31337/redis,fankeke/redis-3.0-annotated,citusdata/redis,brg-liuwei/redis,brg-liuwei/redis,huangz1990/experiment-redis,adamweixuan/redis-3.0-annotated,itamarhaber/redis,kensou97/redis,huangz1990/redis-3.0-annotated,moonbingbing/redis-3.0-annotated,qiyang0221/redis,PKRoma/redis,ton31337/redis,cnbin/redis,pkdevbox/redis,pkdevbox/redis,pcarrier/redis,zhoudayang/redis,tjschuck/redis,NBSW/redis,fengshao0907/redis,hedisdb/hedis,CodeJuan/redis,xuguruogu/redis,jacklee0810/redis-3.0-annotated,gechong/redis-3.0-annotated,timothyohare/3rdPartySrc-redis,kaushik94/redis,alenslan/redis,holstvoogd/redis,yuhc/redis-benchmark-enhanced,zczhuohuo/redis,ctripcorp/redis,ofirluzon/redis,Hailei/redis,mgk/redis,gilala/hredis,badboy/redis,HunanTV/redis,izhoujie/redis,zhoudayang/redis,wbailey5/redis,zczhuohuo/redis,ksarch-saas/redis,haima-zju/redis-3.0-annotated,modulexcite/redis,pmem/redis,oranagra/redis,brg-liuwei/redis,onlymellb/redis-3.0-annotated,vincent-vivian-liu/redis,ctripcorp/redis,abhiklodh/redis,universsky/redis,unasm/redis-3.0-annotated,jackyan/redis,twskipper/redis,hawkchch/redis,PKRoma/redis,devaos/redis,cusspvz/redis,iandyh/redis,antirez/redis,mumingv/redis,unasm/redis-3.0-annotated,Hailei/redis,JoeWoo/redis,badboy/redis,splitice/redis,blackmady/redis,fengshao0907/redis,zhcy/redis,ksarch-saas/redis,PradheepShrinivasan/redis,abhiklodh/redis,OmarQunsul/graph-redis,SyntaxStacks/redis,thomasdarimont/redis,shining-yang/redis,gilala/bjredis,wenxueliu/redis_comment,shreesundara/redis,yuzhangjob/redis-3.0-annotated-unstable,gilala/hredis,JoeWoo/redis,AplayER/redis,soloestoy/redis,zhaobo1023/redis-3.0-annotated,devaos/redis,mengzhejin/RedisStudy,Soledad89/redis,spinlock/redis,fengshao0907/redis-3.0-annotated,gechong/redis-3.0-annotated,AplayER/redis,citusdata/redis,oranagra/redis,antirez/redis,oranagra/redis,ReadCode/redis-3.0-annotated,itamarhaber/redis,RepmujNetsik/redis,guker/redis,gechong/redis-3.0-annotated,healerkx/redis,shining-yang/redis,spinlock/redis,fankeke/redis-3.0-annotated,sunheehnus/redis,xlzhan/redis,wbailey5/redis,jackyan/redis,aim-for-better/redis,rogerlz/redis,onlymellb/redis-3.0-annotated,allengaller/redis,MSOpenTech/redis,Hailei/redis,flashbuckets/redis,yybirdcf/learn-redis,fengshao0907/redis,tanghaodong25/redis,wangyikai/redis,Markgorden/redis,programmecat/redis,seppo0010/rlite-server,francischan714/redis,dongqifan2/redis-3.0-annotated,hgl888/redis,duanx/redis,francischan714/redis,holstvoogd/redis,SyntaxStacks/redis,PKRoma/redis,JoeWoo/redis,colstrom/redis,yossigo/redis,tanghaodong25/redis,blackmady/redis,MSOpenTech/redis,yossigo/redis,Soledad89/redis,xlzhan/redis,neomantra/redis,shining-yang/redis,gilala/redis,Aliceljm1/redis,neomantra/redis,elkingtonmcb/redis,ramonsnir/redis,wangyikai/redis,huangz1990/redis-3.0-annotated,cloudrain21/redis,kmiku7/redis,Hailei/redis,honestme/redis,HeartSaVioR/redis,jingjidejuren/redis,MasahikoSawada/redis,modulexcite/redis,wujf/redis,blackmady/redis,hedisdb/hedis,maodeyi/redis_lua,StevenTsai/redis,Aaron1992/redis,ton31337/redis,fengshao0907/redis,pmem/redis,gilala/redis,guker/redis,zhaobo1023/redis-3.0-annotated,rrsean/redis-3.0-annotated,wujf/redis,4396/redis,dayuoba/redis,mingyaaaa/redis,iandyh/redis,linfangrong/redis,simplestbest/redis,jasonkying/redis,HouKangkang/redis-3.0-annotated,ofirluzon/redis,0x55/redis-3.0-annotated,fengshao0907/redis-3.0-annotated,twskipper/redis,soloestoy/redis,ncopa/redis,himoca/redis,yossigo/redis,davidradunz/redis,jbochi/parallel_redis,idning/redis,taoguan/redis,jasonkying/redis,louisliangjun/redis,AplayER/redis,hawkchch/redis,abhiklodh/redis,clamoriniere1A/redis,j0hnma/szredis,ctripcorp/redis,ytjiang/redis,allengaller/redis,darksideofthemoo/redis-histogram,shshlzh/redis-3.0-annotated,louisliangjun/redis,YuraLukashik/redis,supasate/redis,hawkchch/redis,darksideofthemoo/redis-histogram,gongice/redis-3.0-annotated,ErikDubbelboer/redis,kmiku7/redis,davidradunz/redis,yybirdcf/learn-redis,pkdevbox/redis,netroby/redis,vincent-vivian-liu/redis,magastzheng/redis-3.0-annotated,itamarhaber/redis,sunlianqiang/redis-3.0-annotated,pmem/redis,tanghaodong25/redis,rogerchina/redis,huyuezheng/redis,flashbuckets/redis,arijitvt/redis,0x55/redis-3.0-annotated,yuzhangjob/redis-3.0-annotated-unstable,SummonY/redis,alenslan/redis,hgl888/redis,mumingv/redis,aim-for-better/redis,valdsJohn/redis,honestme/redis,huangz1990/redis-3.0-annotated,HeartSaVioR/redis,gilala/redis,devaos/redis,Wangyao14cyy/redis,slfs007/mk-redis,mengzhejin/RedisStudy,atreeyang/redis,ton31337/redis,ketor/redis,MSOpenTech/redis,pkdevbox/redis,elkingtonmcb/redis,RepmujNetsik/redis,wprice/redis,splitice/redis,programmecat/redis,PradheepShrinivasan/redis,dongqifan2/redis-3.0-annotated,gaoxianglong/redis,yybirdcf/learn-redis,qiyang0221/redis,Sciumo/redis,charsyam/redis,slfs007/mk-redis,programmecat/redis,GrimDerp/redis,kaushik94/redis,sunlianqiang/redis-3.0-annotated,yossigo/redis,cloudrain21/redis,simplestbest/redis,rrsean/redis-3.0-annotated,h0x91b/redis,gongice/redis-3.0-annotated,mengyou0304/redis,colstrom/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,ErikDubbelboer/redis,atreeyang/redis,louisliangjun/redis,YuraLukashik/redis,programmecat/redis,MasahikoSawada/redis,mumingv/redis-3.0-annotated,mumingv/redis-3.0-annotated,wujf/redis,dayuoba/redis,wuyu201321060203/redis-3.0-annotated,Aliceljm1/redis,weizijun/redis,dayuoba/redis,thomasdarimont/redis,huyuezheng/redis,zhoudayang/redis,xuguruogu/redis,pcarrier/redis,ErikDubbelboer/redis,mverrilli/redis,ReadCode/redis-3.0-annotated,gilala/bjredis,nnog/redis,guker/redis,mverrilli/redis,supasate/redis,colstrom/redis,SummonY/redis,pedigree/redis,YongMan/redis,xuzhezhaozhao/redis_reading,SummonY/redis,seppo0010/rlite-server,ErikDubbelboer/redis,neomantra/redis,mattsta/redis,elkingtonmcb/redis,YongMan/redis,maodeyi/redis_lua,Aliceljm1/redis,taoguan/redis,jxwr/redis,gilala/hbjredis,rouzier/redis,haima-zju/redis-3.0-annotated,aim-for-better/redis,yybirdcf/learn-redis,seandsky/redis,dreamquster/redis,tzq668766/redis-3.0-annotated,jxwr/redis,miaoyc1989/redis-3.0-annotated,ouyangkongtong/redis,devaos/redis,shshlzh/redis-3.0-annotated,duanx/redis,miaoyc1989/redis-3.0-annotated,splitice/redis,july2993/redis,msn217/redis-3.0-annotated,z-fork/redis,mgk/redis,ituncle/redis,gaoxianglong/redis,zy416548283/redis-3.0-annotated,july2993/redis,LongXQ/redis,saisai/redis,ksarch-saas/redis,gaoxianglong/redis,riyan8250/redis,jbochi/parallel_redis,timothyohare/3rdPartySrc-redis,haima-zju/redis-3.0-annotated,dreamquster/redis,AALEKH/redis,Markgorden/redis,0x55/redis-3.0-annotated,moonbingbing/redis-3.0-annotated,ttuna/msot-redis,LongXQ/redis,huangz1990/experiment-redis,HunanTV/redis,jasonkying/redis,ttuna/msot-redis,j0hnma/hszredis,Wangyao14cyy/redis,july2993/redis,linfangrong/redis,nuxeh/redis,RepmujNetsik/redis,0x55/redis-3.0-annotated,honestme/redis,kaushik94/redis,soveran/redis,NBSW/redis,a-pavlov/redis,pedigree/redis,rouzier/redis,ipmobiletech/redis,nilyang/redis-tdd-annotation,holstvoogd/redis,YuanZhewei/redis,ramonsnir/redis,NBSW/redis,saisai/redis,tjschuck/redis,gilala/redis,wprice/redis,PKRoma/redis,zguangyu/redis,simplestbest/redis,mgk/redis,MOON-CLJ/redis,whille/redis-3.0-annotated,csuhawk/redis,OmarQunsul/graph-redis,LongXQ/redis,netroby/redis,shreesundara/redis,janekmi/redis,seandsky/redis,himoca/redis,pedigree/redis,tellapart/redis,hedisdb/hedis,adamweixuan/redis-3.0-annotated,clamoriniere1A/redis,huangz1990/experiment-redis,vincent-vivian-liu/redis,jingjidejuren/redis,zguangyu/redis,jacklee0810/redis-3.0-annotated,shshlzh/redis-3.0-annotated,NBSW/redis,hedisdb/hedis,AplayER/redis,cloudrain21/redis,HunanTV/redis,healerkx/redis,tellapart/redis,xuzhezhaozhao/redis_reading,tanghaodong25/redis,whille/redis-3.0-annotated,alenslan/redis,ncopa/redis,MasahikoSawada/redis,wbailey5/redis,CodeJuan/redis,ofirluzon/redis,mcanthony/redis,kmiku7/redis,honestme/redis,xujunhai1991/redis,elkingtonmcb/redis,colstrom/redis,4396/redis,yuhc/redis-benchmark-enhanced,linfangrong/redis,rogerchina/redis,SyntaxStacks/redis,flashbuckets/redis,ketor/redis,nnog/redis,mumingv/redis,AALEKH/redis,mengzhejin/RedisStudy,itugs/redis,davidradunz/redis,oranagra/redis,mverrilli/redis,4396/redis,ytjiang/redis,iandyh/redis,gilala/hbjredis,ytjiang/redis,csuhawk/redis,moonbingbing/redis-3.0-annotated,zy416548283/redis-3.0-annotated,xlzhan/redis,kensou97/redis,mverrilli/redis,YuraLukashik/redis,adamweixuan/redis-3.0-annotated,cusspvz/redis,xuguruogu/redis,cnbin/redis,alenslan/redis,xujunhai1991/redis,mcanthony/redis,jbochi/parallel_redis,mengyou0304/redis,ituncle/redis,rogerchina/redis,StevenTsai/redis,ouyangkongtong/redis,Markgorden/redis,itugs/redis,narma/redis,slfs007/mk-redis,rogerlz/redis,xlzhan/redis,thomasdarimont/redis,ncopa/redis,a-pavlov/redis,AALEKH/redis,gongice/redis-3.0-annotated,ttuna/msot-redis,GrimDerp/redis,narma/redis,takeshineshiro/redis,msn217/redis-3.0-annotated,ramonsnir/redis,janekmi/redis,ipmobiletech/redis,mumingv/redis-3.0-annotated,jingjidejuren/redis,davidradunz/redis,drinkthere/redis-3.0-annotated,drinkthere/redis-3.0-annotated,csuhawk/redis,zhiliaoniu/redis,francischan714/redis,csuhawk/redis,cusspvz/redis,twskipper/redis,vincent-vivian-liu/redis,valdsJohn/redis,hgl888/redis,tzq668766/redis-3.0-annotated,cnbin/redis,wangyikai/redis,soloestoy/redis,190235047/redis,kmiku7/redis,gilala/hbjredis,RepmujNetsik/redis,soveran/redis,yuhc/redis-benchmark-enhanced,huyuezheng/redis,buobao/redis-3.0-annotated,idning/redis,GitHubMota/redis,YuanZhewei/redis,OmarQunsul/graph-redis,josiahcarlson/redis,harrisonfeng/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,tellapart/redis,sunheehnus/redis,gilala/bjredis,idning/redis,july2993/redis,charsyam/redis,nuxeh/redis,qiyang0221/redis,magastzheng/redis-3.0-annotated,nilyang/redis-tdd-annotation,janekmi/redis,MSOpenTech/redis,linfangrong/redis,YuanZhewei/redis,tjschuck/redis,holstvoogd/redis,harrisonfeng/redis,PradheepShrinivasan/redis,wbailey5/redis,xuzhezhaozhao/redis_reading,j0hnma/hszredis,modulexcite/redis,mengyou0304/redis,rouzier/redis,zhcy/redis,narma/redis,rrsean/redis-3.0-annotated,antirez/redis,sunlianqiang/redis-3.0-annotated,spearhead-ea/redis,taoguan/redis,seppo0010/rlite-server,darksideofthemoo/redis-histogram,dongqifan2/redis-3.0-annotated,nnog/redis,buobao/redis-3.0-annotated,arijitvt/redis,universsky/redis,onlymellb/redis-3.0-annotated,Aliceljm1/redis-3.0-annotated,tjschuck/redis,pedigree/redis,universsky/redis,spearhead-ea/redis,tellapart/redis,aim-for-better/redis,josiahcarlson/redis,weizijun/redis,ksarch-saas/redis,roth1002/redis,dayuoba/redis,izhoujie/redis,darksideofthemoo/redis-histogram,buobao/redis-3.0-annotated,izhoujie/redis,h0x91b/redis,Wangyao14cyy/redis,saisai/redis,soveran/redis,zguangyu/redis,zhiliaoniu/redis,mingyaaaa/redis,hornen/redis,allengaller/redis,thomasdarimont/redis,StevenTsai/redis,nnog/redis,mengyou0304/redis,universsky/redis,mgk/redis,hornen/redis,j0hnma/szredis,modulexcite/redis,j0hnma/szredis,Aaron1992/redis,wuyu201321060203/redis-3.0-annotated,abhiklodh/redis,oranagra/redis,jbochi/redis,GrimDerp/redis,MSOpenTech/redis,mcanthony/redis,zguangyu/redis,LongXQ/redis,jasonkying/redis,seppo0010/redis,jbochi/redis,HouKangkang/redis-3.0-annotated,spearhead-ea/redis,neomantra/redis,badboy/redis,HouKangkang/redis-3.0-annotated,Sciumo/redis,gilala/hredis,ofirluzon/redis,h0x91b/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,seandsky/redis,seandsky/redis,mingyaaaa/redis,citusdata/redis,MasahikoSawada/redis,zhoudayang/redis,nilyang/redis-tdd-annotation,yossigo/redis,wuyu201321060203/redis-3.0-annotated,valdsJohn/redis,mattsta/redis,a-pavlov/redis,zy416548283/redis-3.0-annotated,antirez/redis,supasate/redis,Sciumo/redis,qiyang0221/redis,CodeJuan/redis,wprice/redis,jackyan/redis,MOON-CLJ/redis,citusdata/redis,flashbuckets/redis,idning/redis,ttuna/msot-redis,netroby/redis,seppo0010/rlite-server,blackmady/redis,spinlock/redis,clamoriniere1A/redis,gilala/hredis,itamarhaber/redis,Soledad89/redis,janekmi/redis,zhiliaoniu/redis,roth1002/redis,StevenTsai/redis,z-fork/redis,itugs/redis,wenxueliu/redis_comment,zhcy/redis,gilala/bjredis,jingjidejuren/redis,190235047/redis,wenxueliu/redis_comment,weizijun/redis,roth1002/redis,rogerlz/redis,cnbin/redis,kensou97/redis,arijitvt/redis,ReadCode/redis-3.0-annotated,mengzhejin/RedisStudy,PradheepShrinivasan/redis,zhiliaoniu/redis,miaoyc1989/redis-3.0-annotated,atreeyang/redis,190235047/redis,gilala/hbjredis,takeshineshiro/redis,rogerlz/redis,mingyaaaa/redis,mattsta/redis,rouzier/redis,GitHubMota/redis,charsyam/redis,190235047/redis,mumingv/redis,harrisonfeng/redis,unasm/redis-3.0-annotated,timothyohare/3rdPartySrc-redis,Markgorden/redis,healerkx/redis,fengshao0907/redis-3.0-annotated,brg-liuwei/redis,ipmobiletech/redis,louisliangjun/redis,zczhuohuo/redis,ytjiang/redis,seppo0010/redis,riyan8250/redis,takeshineshiro/redis,weizijun/redis,h0x91b/redis,rogerchina/redis,xuzhezhaozhao/redis_reading,Aliceljm1/redis,huyuezheng/redis,tzq668766/redis-3.0-annotated,hgl888/redis,nilyang/redis-tdd-annotation,YongMan/redis,atreeyang/redis,HeartSaVioR/redis,duanx/redis,splitice/redis,sunheehnus/redis,shshlzh/redis-3.0-annotated,xujunhai1991/redis,gaoxianglong/redis,miaoyc1989/redis-3.0-annotated,4396/redis,drinkthere/redis-3.0-annotated,SyntaxStacks/redis,ipmobiletech/redis,Wangyao14cyy/redis,neomantra/redis,shreesundara/redis,PKRoma/redis,wprice/redis,ketor/redis,shining-yang/redis,zhcy/redis,ofirluzon/redis,guker/redis,allengaller/redis,zczhuohuo/redis,spinlock/redis,Aaron1992/redis,ctripcorp/redis,SummonY/redis,roth1002/redis,hornen/redis,ttuna/msot-redis,charsyam/redis,soveran/redis,himoca/redis,GrimDerp/redis,healerkx/redis,YuraLukashik/redis,riyan8250/redis,charsyam/redis,huangz1990/experiment-redis,pcarrier/redis,iandyh/redis,JoeWoo/redis,j0hnma/hszredis,jackyan/redis,mcanthony/redis,ituncle/redis,ituncle/redis,josiahcarlson/redis,j0hnma/hszredis,supasate/redis,wenxueliu/redis_comment,itugs/redis,HunanTV/redis,seppo0010/redis,saisai/redis