X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrcasecmp.c;h=ab196718f34f33a0cbd7d5d7e5f41fb204a47595;hb=87c5f6fccee477f7e2c67ea4c95e51a3afd83a41;hp=c605fb0f593351b232102600ff5ea08437d5ea51;hpb=623e3b9edbc0d95dc7d5c7058e819f7f3293339c;p=gnulib.git diff --git a/lib/strcasecmp.c b/lib/strcasecmp.c index c605fb0f5..ab196718f 100644 --- a/lib/strcasecmp.c +++ b/lib/strcasecmp.c @@ -1,5 +1,5 @@ /* Case-insensitive string comparison function. - Copyright (C) 1998-1999, 2005-2007 Free Software Foundation, Inc. + Copyright (C) 1998-1999, 2005-2007, 2009-2010 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,7 +46,7 @@ strcasecmp (const char *s1, const char *s2) c2 = TOLOWER (*p2); if (c1 == '\0') - break; + break; ++p1; ++p2;