if (i < 0)
if (i <= 0)
int ssl23_write_bytes(s)SSL *s;	{	int i,num,tot;	char *buf;	buf=s->init_buf->data;	tot=s->init_off;	num=s->init_num;	for (;;)		{		s->rwstate=SSL_WRITING;		i=BIO_write(s->wbio,&(buf[tot]),num);		if (i < 0)			{			s->init_off=tot;			s->init_num=num;			return(i);			}		s->rwstate=SSL_NOTHING;		if (i == num) return(tot+i);		num-=i;		tot+=i;		}	}