]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vboxDumpDisplay: remove suspicious strlen
authorJán Tomko <jtomko@redhat.com>
Fri, 5 Feb 2016 16:46:07 +0000 (17:46 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 9 Feb 2016 09:11:05 +0000 (10:11 +0100)
commitc5972df7d5a397e3e39a3b619db9b2a695e40373
treebc6985a56a3201a28fa98bc464935c6379943562
parent5a16197459ca2a562551c3853bae122e0c092827
vboxDumpDisplay: remove suspicious strlen

The return type of strlen is 'size_t', which is unsigned and therefore
never less than zero.

Use STREQ to make the check obvious.
src/vbox/vbox_common.c