Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
http.c: use error_errno() and warning_errno()
[gitweb.git]
/
strbuf.c
diff --git
a/strbuf.c
b/strbuf.c
index bab316dda8f4946efb9a908f17c98b4db3d21e98..f60e2ee72ba86cbd6c66622366af4a7faf25e1a0 100644
(file)
--- a/
strbuf.c
+++ b/
strbuf.c
@@
-718,7
+718,7
@@
char *xstrdup_tolower(const char *string)
size_t len, i;
len = strlen(string);
- result = xmalloc
(len + 1
);
+ result = xmalloc
z(len
);
for (i = 0; i < len; i++)
result[i] = tolower(string[i]);
result[i] = '\0';