Minor style knit.
This commit is contained in:
parent
91a569ad69
commit
c2026d6193
@ -456,8 +456,7 @@ mknum(char *str, char ch)
|
|||||||
len = strlen(str) + 2;
|
len = strlen(str) + 2;
|
||||||
if (len > copy_size) {
|
if (len > copy_size) {
|
||||||
newlen = ((len + 1023) >> 10) << 10;
|
newlen = ((len + 1023) >> 10) << 10;
|
||||||
if ((newcopy = realloc(copy, newlen)) == NULL)
|
if ((newcopy = realloc(copy, newlen)) == NULL) {
|
||||||
{
|
|
||||||
warnx("%s", strerror(ENOMEM));
|
warnx("%s", strerror(ENOMEM));
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user