1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r9282: Whitespace.

Jeremy.
(This used to be commit 183a470511)
This commit is contained in:
Jeremy Allison 2005-08-12 22:59:35 +00:00 committed by Gerald (Jerry) Carter
parent ac90571830
commit e04754b295

View File

@ -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);
}
/**