summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 712a8a18fd..9b14dcfaf0 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -266,12 +266,12 @@ BOOL strequal(const char *s1, const char *s2)
**/
BOOL strnequal(const char *s1,const char *s2,size_t n)
{
- if (s1 == s2)
- return(True);
- if (!s1 || !s2 || !n)
- return(False);
+ if (s1 == s2)
+ return(True);
+ if (!s1 || !s2 || !n)
+ return(False);
- return(StrnCaseCmp(s1,s2,n)==0);
+ return(StrnCaseCmp(s1,s2,n)==0);
}
/**
@@ -280,12 +280,12 @@ BOOL strnequal(const char *s1,const char *s2,size_t n)
BOOL strcsequal(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(strcmp(s1,s2)==0);
+ return(strcmp(s1,s2)==0);
}
/**