mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
b674411eb4
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
(This used to be commit 200a8f6652
)
21 lines
322 B
C
21 lines
322 B
C
/*
|
|
* Copyright (C) 2003 by Martin Pool
|
|
*
|
|
* Test harness for strcasecmp_m
|
|
*/
|
|
|
|
#include "includes.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
if (argc != 3) {
|
|
fprintf(stderr, "usage: %s STRING1 STRING2\nCompares two strings\n",
|
|
argv[0]);
|
|
return 2;
|
|
}
|
|
|
|
printf("%d\n", strcasecmp_m(argv[1], argv[2]));
|
|
|
|
return 0;
|
|
}
|