diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2016-01-14 18:56:56 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2016-01-14 18:56:56 +0000 |
commit | ecdd21652c9aa0c53157d7a06d7ac3d3acfad039 (patch) | |
tree | 33ec4986c8da0657b124a0a906eeaa058fdd2a07 /sys/dev/usb/usb_subr.c | |
parent | f6fcfad074cd1e3adac15d8ed616a5c2c529478c (diff) |
Check whether a string from imsg is empty by dereferencing the char*
rather than using strlen. That way we don't have to walk through the
entire string.
ok sunnil@
Diffstat (limited to 'sys/dev/usb/usb_subr.c')
0 files changed, 0 insertions, 0 deletions