X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fdebug.c;h=04c52f0050f4f5b167096c23426efc9c5ff69654;hp=8daa03240ea857dfc4860338451f59134dde49af;hb=9353c6253d5fac1648b13ad9958468a2d9f6ad6f;hpb=7cd4b6aeee3693463b03608a31cf53f21152c2e8 diff --git a/daemon/debug.c b/daemon/debug.c index 8daa032..04c52f0 100644 --- 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); }