projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use spaces for indentation, not tabs.
[gnulib.git]
/
lib
/
calloc.c
diff --git
a/lib/calloc.c
b/lib/calloc.c
index
554a58d
..
12b0ef5
100644
(file)
--- a/
lib/calloc.c
+++ b/
lib/calloc.c
@@
-49,13
+49,13
@@
rpl_calloc (size_t n, size_t s)
else
{
/* Defend against buggy calloc implementations that mishandle
- size_t overflow. */
+
size_t overflow. */
size_t bytes = n * s;
if (bytes / s != n)
- {
- errno = ENOMEM;
- return NULL;
- }
+
{
+
errno = ENOMEM;
+
return NULL;
+
}
}
#endif