mirror of git://sourceware.org/git/glibc.git
Fix make_message example.
This commit is contained in:
parent
0fdd44dcb4
commit
53631fa890
|
|
@ -2357,7 +2357,8 @@ make_message (char *name, char *value)
|
||||||
@{
|
@{
|
||||||
/* @r{Reallocate buffer now that we know
|
/* @r{Reallocate buffer now that we know
|
||||||
how much space is needed.} */
|
how much space is needed.} */
|
||||||
buffer = (char *) xrealloc (buffer, nchars + 1);
|
size = nchars + 1;
|
||||||
|
buffer = (char *) xrealloc (buffer, size);
|
||||||
|
|
||||||
if (buffer != NULL)
|
if (buffer != NULL)
|
||||||
/* @r{Try again.} */
|
/* @r{Try again.} */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue