mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Minor style knit.
This commit is contained in:
parent
b437b06c79
commit
ea1a630ade
1 changed files with 1 additions and 2 deletions
|
|
@ -456,8 +456,7 @@ mknum(char *str, char ch)
|
|||
len = strlen(str) + 2;
|
||||
if (len > copy_size) {
|
||||
newlen = ((len + 1023) >> 10) << 10;
|
||||
if ((newcopy = realloc(copy, newlen)) == NULL)
|
||||
{
|
||||
if ((newcopy = realloc(copy, newlen)) == NULL) {
|
||||
warnx("%s", strerror(ENOMEM));
|
||||
return (NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue