]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
formatting fixes
authorAndrew Tridgell <tridge@samba.org>
Fri, 6 Jul 2001 11:50:45 +0000 (11:50 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 6 Jul 2001 11:50:45 +0000 (11:50 +0000)
source/lib/util_str.c

index 736229c75f8f111d2ecede4f97ab376adbd8aed0..565703a8000937efdf3500542a864d3c90365685 100644 (file)
@@ -133,10 +133,10 @@ char **toktocliplist(int *ctok, char *sep)
 ********************************************************************/
 int StrCaseCmp(const char *s, const char *t)
 {
-   pstring buf1, buf2;
-   unix_strlower(s, strlen(s)+1, buf1, sizeof(buf1));
-   unix_strlower(t, strlen(t)+1, buf2, sizeof(buf2));
-   return strcmp(buf1,buf2);
+       pstring buf1, buf2;
+       unix_strlower(s, strlen(s)+1, buf1, sizeof(buf1));
+       unix_strlower(t, strlen(t)+1, buf2, sizeof(buf2));
+       return strcmp(buf1,buf2);
 }
 
 /*******************************************************************
@@ -155,10 +155,10 @@ int StrnCaseCmp(const char *s, const char *t, size_t n)
 ********************************************************************/
 BOOL strequal(const char *s1, const char *s2)
 {
-  if (s1 == s2) return(True);
-  if (!s1 || !s2) return(False);
+       if (s1 == s2) return(True);
+       if (!s1 || !s2) return(False);
   
-  return(StrCaseCmp(s1,s2)==0);
+       return(StrCaseCmp(s1,s2)==0);
 }
 
 /*******************************************************************