Add more error checks to packet_send1().
Add more error checks to packet_send1().


git-svn-id: b1dee0d48e635e16c3b356ce77271b225d4db9f7@460 7dcaeef0-15fb-0310-b436-a5af3365683c

jt1/honeypot-libssh,miloj/libssh-v0.5,pouete/libssh,wangshawn/libssh,sebadoom/libssh,jahrome/libssh,kedazo/libssh,jt1/honeypot-libssh,elastichosts/libssh,robxu9/libssh,DouglasHeriot/libssh,bigcat26/libssh-mod,pouete/libssh,jahrome/libssh,bigcat26/libssh-mod,sebadoom/libssh,Distrotech/libssh,mwgoldsmith/ssh,DouglasHeriot/libssh,mwgoldsmith/ssh,miloj/libssh-v0.5,jt1/honeypot-libssh,miloj/libssh-v0.5,taikoo/libssh,wangshawn/libssh,substack/libssh,mwgoldsmith/ssh,sebadoom/libssh,DouglasHeriot/libssh,nviennot/libssh,mwgoldsmith/libssh,jt1/honeypot-libssh,pouete/libssh,robxu9/libssh,kedazo/libssh,jahrome/libssh,nviennot/libssh,wangshawn/libssh,substack/libssh,rofl0r/libssh,rofl0r/libssh,mwgoldsmith/libssh,kedazo/libssh,jahrome/libssh,DouglasHeriot/libssh,wangshawn/libssh,Distrotech/libssh,rofl0r/libssh,mwgoldsmith/libssh,substack/libssh,taikoo/libssh,nviennot/libssh,miloj/libssh-v0.5,Distrotech/libssh,bigcat26/libssh-mod,elastichosts/libssh,bigcat26/libssh-mod,taikoo/libssh,robxu9/libssh,robxu9/libssh,mwgoldsmith/libssh,Distrotech/libssh,substack/libssh,pouete/libssh,mwgoldsmith/ssh,kedazo/libssh,taikoo/libssh,rofl0r/libssh,elastichosts/libssh,nviennot/libssh,sebadoom/libssh