git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
convert uses of strcasecmp to STRCASEEQ
[libguestfs.git]
/
daemon
/
debug.c
diff --git
a/daemon/debug.c
b/daemon/debug.c
index
8daa032
..
04c52f0
100644
(file)
--- a/
daemon/debug.c
+++ b/
daemon/debug.c
@@
-80,7
+80,7
@@
do_debug (const char *subcmd MAYBE_UNUSED, char *const *argv MAYBE_UNUSED)
argc++;
for (i = 0; cmds[i].cmd != NULL; ++i) {
- if (
strcasecmp (subcmd, cmds[i].cmd) == 0
)
+ if (
STRCASEEQ (subcmd, cmds[i].cmd)
)
return cmds[i].f (subcmd, argc, argv);
}