mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-05-07 07:20:04 +00:00
delinted
SCCS-file: ialloc.c SCCS-SID: 8.10
This commit is contained in:
committed by
Paul Eggert
parent
072552dad4
commit
06b3a12766
2
ialloc.c
2
ialloc.c
@@ -88,7 +88,7 @@ char * new;
|
||||
else if (newsize == 0)
|
||||
return old;
|
||||
else oldsize = strlen(old);
|
||||
if ((result = irealloc(old, (alloc_t) (oldsize + newsize + 1))) != NULL)
|
||||
if ((result = irealloc(old, oldsize + newsize + 1)) != NULL)
|
||||
if (!NULLMAL(new))
|
||||
(void) strcpy(result + oldsize, new);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user