Deleted out-commented code.
FossilOrigin-Name: dabbad7b83d22b785410b6608ee5028f8290d44eea0f299fe8fdc7c1dad486b9
This commit is contained in:
parent
7fa354d015
commit
ba326eeee4
@ -26,9 +26,7 @@ char * sock_hwaddrtostr(const uint8_t *haddr,int len,char *dst,const char * sepa
|
|||||||
char * d = dst;
|
char * d = dst;
|
||||||
for (i=0; i<len-1; i++){
|
for (i=0; i<len-1; i++){
|
||||||
d+=sprintf(d,"%02X%s",haddr[i],separator);
|
d+=sprintf(d,"%02X%s",haddr[i],separator);
|
||||||
// d+=3;
|
|
||||||
}
|
}
|
||||||
sprintf(d,"%02X",haddr[i]);
|
sprintf(d,"%02X",haddr[i]);
|
||||||
return dst;
|
return dst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user