From c615ebed6e3d273a682806b952d543e834e5630d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 13 May 2011 20:21:30 +0200 Subject: s3-lib Replace StrCaseCmp() with strcasecmp_m() strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett --- source3/utils/net_help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/net_help.c') diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c index 4e326ba902..4aba1c5703 100644 --- a/source3/utils/net_help.c +++ b/source3/utils/net_help.c @@ -60,7 +60,7 @@ int net_help(struct net_context *c, int argc, const char **argv) return net_usage(c, argc, argv); } - if (StrCaseCmp(argv[0], "help") == 0) { + if (strcasecmp_m(argv[0], "help") == 0) { return net_help_usage(c, argc, argv); } -- cgit