add: q_inet_itoa_buf[offset]=b+'0';
context: static inline char* q_inet_itoa(unsigned long ip){	static char q_inet_itoa_buf[16]; /* 123.567.901.345\0 */	unsigned char* p;	unsigned char a,b,c;  /* abc.def.ghi.jkl */	int offset;	int r;	p=(unsigned char*)&ip;	offset=0;	/* unrolled loops (faster)*/	for(r=0;r<3;r++){		a=p[r]/100;		c=p[r]%10;		b=p[r]%100/10;		if (a){			q_inet_itoa_buf[offset]=a+'0';			q_inet_itoa_buf[offset+1]=b+'0';			q_inet_itoa_buf[offset+2]=c+'0';			q_inet_itoa_buf[offset+3]='.';			offset+=4;		}else if (b){			q_inet_itoa_buf[offset]=b+'0';			q_inet_itoa_buf[offset+1]=c+'0';			q_inet_itoa_buf[offset+2]='.';			offset+=3;		}else{			q_inet_itoa_buf[offset]=c+'0';			q_inet_itoa_buf[offset+1]='.';			offset+=2;		}	}	/* last number */	a=p[r]/100;	c=p[r]%10;	b=p[r]%100/10;	if (a){		q_inet_itoa_buf[offset]=a+'0';		q_inet_itoa_buf[offset+1]=b+'0';		q_inet_itoa_buf[offset+2]=c+'0';		q_inet_itoa_buf[offset+3]=0;	}else if (b){		q_inet_itoa_buf[offset+1]=c+'0';		q_inet_itoa_buf[offset+2]=0;	}else{		q_inet_itoa_buf[offset]=c+'0';		q_inet_itoa_buf[offset+1]=0;	}	return q_inet_itoa_buf;}