Re: [libvirt] [PATCH 1/3] Replace some uses STREQLEN with STRPREFIX

2016-06-24 Thread Andrea Bolognani
On Fri, 2016-06-24 at 15:00 +0200, Ján Tomko wrote: > Do not call it with a magic constant matching the length > of the pattern. > --- > src/qemu/qemu_command.c | 2 +- > src/storage/storage_backend_iscsi.c | 2 +- > src/storage/storage_backend_scsi.c | 2 +- >

[libvirt] [PATCH 1/3] Replace some uses STREQLEN with STRPREFIX

2016-06-24 Thread Ján Tomko
Do not call it with a magic constant matching the length of the pattern. --- src/qemu/qemu_command.c | 2 +- src/storage/storage_backend_iscsi.c | 2 +- src/storage/storage_backend_scsi.c | 2 +- src/xen/xen_hypervisor.c| 4 ++-- 4 files changed, 5 insertions(+), 5