summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authormmcc <mmcc@openbsd.org>2016-01-14 18:56:55 +0000
committermmcc <mmcc@openbsd.org>2016-01-14 18:56:55 +0000
commite3317d1817ed68bc653d730788893a12d3cfd1dc (patch)
treea97aa6c519ab73c40a22eb31faeb565202b5475c /sys/dev/i2c
parentAdd support for a variety of USB devices. (diff)
downloadwireguard-openbsd-e3317d1817ed68bc653d730788893a12d3cfd1dc.tar.xz
wireguard-openbsd-e3317d1817ed68bc653d730788893a12d3cfd1dc.zip
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/i2c')
0 files changed, 0 insertions, 0 deletions