summaryrefslogtreecommitdiffstats
path: root/libc/string/strcasecmp.c
diff options
context:
space:
mode:
authorAndré Goddard Rosa <andre.goddard@gmail.com>2010-01-30 22:28:49 -0200
committerAndré Goddard Rosa <andre.goddard@gmail.com>2010-01-30 22:28:49 -0200
commit30a419afc3cdb641e350c7cfde753877675958e0 (patch)
treeb4484c80c91c40584edcba2625c196b36a3bae0c /libc/string/strcasecmp.c
parent8f92500fa93d174d077af28d8af3e3cb732e0aff (diff)
downloadbionic-30a419afc3cdb641e350c7cfde753877675958e0.zip
bionic-30a419afc3cdb641e350c7cfde753877675958e0.tar.gz
bionic-30a419afc3cdb641e350c7cfde753877675958e0.tar.bz2
improve readability of string: fix indentation and remove trailing spaces
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Diffstat (limited to 'libc/string/strcasecmp.c')
-rw-r--r--libc/string/strcasecmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strcasecmp.c b/libc/string/strcasecmp.c
index 12f3a09..2be0913 100644
--- a/libc/string/strcasecmp.c
+++ b/libc/string/strcasecmp.c
@@ -98,8 +98,8 @@ strncasecmp(const char *s1, const char *s2, size_t n)
if (cm[*us1] != cm[*us2++])
return (cm[*us1] - cm[*--us2]);
if (*us1++ == '\0')
- break;
+ break;
} while (--n != 0);
- }
+ }
return (0);
}