s3-lib Replace StrCaseCmp() with strcasecmp_m()
[samba.git] / source3 / utils / eventlogadm.c
index 971a0c040a86afc3708a5414b4c696bf58748ad8..6ab00eeb69e378d482d9526364e2fea092949421 100644 (file)
@@ -475,16 +475,16 @@ int main( int argc, char *argv[] )
 
        /*  note that the separate command types should call usage if they need to... */
        while ( 1 ) {
-               if ( !StrCaseCmp( opname, "addsource" ) ) {
+               if ( !strcasecmp_m( opname, "addsource" ) ) {
                        rc = DoAddSourceCommand( argc, argv, opt_debug,
                                                 exename );
                        break;
                }
-               if ( !StrCaseCmp( opname, "write" ) ) {
+               if ( !strcasecmp_m( opname, "write" ) ) {
                        rc = DoWriteCommand( argc, argv, opt_debug, exename );
                        break;
                }
-               if ( !StrCaseCmp( opname, "dump" ) ) {
+               if ( !strcasecmp_m( opname, "dump" ) ) {
                        rc = DoDumpCommand( argc, argv, opt_debug, exename );
                        break;
                }