projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ed984
)
src/common.c: Fix a very stupid bug in "strtolower_copy".
author
Florian Forster
<ff@octo.it>
Mon, 21 Jun 2010 13:26:46 +0000
(15:26 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 21 Jun 2010 13:26:46 +0000
(15:26 +0200)
src/common.c
patch
|
blob
|
history
diff --git
a/src/common.c
b/src/common.c
index
4916b3c
..
d6047c4
100644
(file)
--- a/
src/common.c
+++ b/
src/common.c
@@
-209,7
+209,7
@@
char *strtolower_copy (const char *str)
if (str == NULL)
return (NULL);
- return (str
dup (str
));
+ return (str
tolower (strdup (str)
));
}
/* vim: set sw=2 sts=2 et fdm=marker : */