Browse Source

(char)to{upper,lower}()

OPENBSD_4_0
deraadt 19 years ago
parent
commit
16ce0f1f4d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/string/strcasestr.c

+ 2
- 2
src/lib/libc/string/strcasestr.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: strcasestr.c,v 1.2 2005/08/08 08:05:37 espie Exp $ */
/* $OpenBSD: strcasestr.c,v 1.3 2006/03/31 05:34:55 deraadt Exp $ */
/* $NetBSD: strcasestr.c,v 1.2 2005/02/09 21:35:47 kleink Exp $ */
/*-
@ -46,7 +46,7 @@ strcasestr(const char *s, const char *find)
size_t len;
if ((c = *find++) != 0) {
c = tolower((unsigned char)c);
c = (char)tolower((unsigned char)c);
len = strlen(find);
do {
do {


Loading…
Cancel
Save