aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-10-07 20:28:08 -0400
committerRob Austein <sra@hactrn.net>2016-10-07 20:28:08 -0400
commitd5f67d098f78db2473df9e877bb2f3781babcfac (patch)
tree50858d0e54c8bf1d03ce1159258c69d50e7b3a1f /projects
parentf7d1bb71b29d2b1b865f6095b31c2bde486b2516 (diff)
strcasecmp() is not a standard function.
Diffstat (limited to 'projects')
-rw-r--r--projects/cli-test/mgmt-cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/cli-test/mgmt-cli.c b/projects/cli-test/mgmt-cli.c
index 8f5db9d..b513ddc 100644
--- a/projects/cli-test/mgmt-cli.c
+++ b/projects/cli-test/mgmt-cli.c
@@ -164,9 +164,9 @@ hal_user_t user;
static int check_auth(const char *username, const char *password)
{
- if (strcasecmp(username, "ct") != 0)
+ if (strcmp(username, "ct") != 0)
return CLI_ERROR;
- if (strcasecmp(password, "ct") != 0)
+ if (strcmp(password, "ct") != 0)
return CLI_ERROR;
return CLI_OK;
}