mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Remove all use of strcmp, strncmp in favour of STREQ, STREQLEN, STRPREFIX
This commit is contained in:
@@ -802,9 +802,9 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
for (i = 1; i < argc; i++) {
|
||||
if (!strcmp(argv[i], "-v")) {
|
||||
if (STREQ(argv[i], "-v")) {
|
||||
debug++;
|
||||
} else if (!strcmp(argv[i], "-no-timeout")) {
|
||||
} else if (STREQ(argv[i], "-no-timeout")) {
|
||||
persist = 1;
|
||||
} else {
|
||||
usage(argv[0]);
|
||||
|
||||
Reference in New Issue
Block a user