ooooooops..You're right.But here I think we can't use STREQ because in config file the compared string is "hail=qemu:///system" not just "hail" with NULL followedNow you have it the other way around, that any prefix matches: "virsh -c hai" will match "hail". Why not simply use STREQ instead of STREQLEN? Sincerely Philipp