From: Florian Forster Date: Mon, 21 Jun 2010 13:26:46 +0000 (+0200) Subject: src/common.c: Fix a very stupid bug in "strtolower_copy". X-Git-Tag: v4.0.0~208 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=04aa292008516f3add56b9bd87ce9c57b0366cc1;p=collection4.git src/common.c: Fix a very stupid bug in "strtolower_copy". --- diff --git a/src/common.c b/src/common.c index 4916b3c..d6047c4 100644 --- a/src/common.c +++ b/src/common.c @@ -209,7 +209,7 @@ char *strtolower_copy (const char *str) if (str == NULL) return (NULL); - return (strdup (str)); + return (strtolower (strdup (str))); } /* vim: set sw=2 sts=2 et fdm=marker : */