diff options
author | 2007-05-27 03:19:15 +0000 | |
---|---|---|
committer | 2007-05-27 03:19:15 +0000 | |
commit | dbb07f5af48c56df7fde21b8cdb63e64a122ac37 (patch) | |
tree | 21f5bc03456f1645ac81b757dc3607a216cbb972 /sys/dev/usb/uts.c | |
parent | sync (diff) | |
download | wireguard-openbsd-dbb07f5af48c56df7fde21b8cdb63e64a122ac37.tar.xz wireguard-openbsd-dbb07f5af48c56df7fde21b8cdb63e64a122ac37.zip |
Prevent buf[-1] access if strlen(buf) == 0.
Simplify some if-else statements while here.
OK grunk@ and tedu@.
Diffstat (limited to 'sys/dev/usb/uts.c')
0 files changed, 0 insertions, 0 deletions