summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-07-06 11:50:45 +0000
committerAndrew Tridgell <tridge@samba.org>2001-07-06 11:50:45 +0000
commit6bd8340781a2a0c7fee711d8448e421001beddde (patch)
tree1a9da719dccd1851f3d337f6c4738dfafd62633e /source3/lib
parentc5cc721dc3758d3cec5e3b04078f3b2a52841994 (diff)
downloadsamba-6bd8340781a2a0c7fee711d8448e421001beddde.tar.gz
samba-6bd8340781a2a0c7fee711d8448e421001beddde.tar.bz2
samba-6bd8340781a2a0c7fee711d8448e421001beddde.zip
formatting fixes
(This used to be commit 67ca6cd8eb20621d3f5926e19822b479ac80cb9c)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 736229c75f..565703a800 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -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);
}
/*******************************************************************