@@ -527,12 +527,12 @@ strcasecmp(const char* a, const char* b)
527527#elif defined(_WIN32)
528528 return _stricmp_l (a, b, c_loc);
529529#elif defined(__NetBSD__)
530- const unsigned char *us1 = (const unsigned char *)a,
531- *us2 = (const unsigned char *)b;
530+ const unsigned char *us1 = (const unsigned char *)a,
531+ *us2 = (const unsigned char *)b;
532532
533533 while (tolower_l (*us1, c_loc) == tolower_l (*us2++, c_loc))
534- if (*us1++ == ' \0 ' )
535- return (0 );
534+ if (*us1++ == ' \0 ' )
535+ return (0 );
536536 return (tolower_l (*us1, c_loc) - tolower_l (*--us2, c_loc));
537537#else
538538# error ("need equivalent of strcasecmp_l on this platform");
@@ -551,15 +551,15 @@ strncasecmp(const char* a, const char* b, size_t size)
551551 return _strnicmp_l (a, b, size, c_loc);
552552#elif defined(__NetBSD__)
553553 if (size != 0 ) {
554- const unsigned char *us1 = (const unsigned char *)a,
555- *us2 = (const unsigned char *)b;
556-
557- do {
558- if (tolower_l (*us1, c_loc) != tolower_l (*us2++, c_loc))
559- return (tolower_l (*us1, c_loc) - tolower_l (*--us2, c_loc));
560- if (*us1++ == ' \0 ' )
561- break ;
562- } while (--size != 0 );
554+ const unsigned char *us1 = (const unsigned char *)a,
555+ *us2 = (const unsigned char *)b;
556+
557+ do {
558+ if (tolower_l (*us1, c_loc) != tolower_l (*us2++, c_loc))
559+ return (tolower_l (*us1, c_loc) - tolower_l (*--us2, c_loc));
560+ if (*us1++ == ' \0 ' )
561+ break ;
562+ } while (--size != 0 );
563563 }
564564 return (0 );
565565#else
0 commit comments