2
0
mirror of git://sourceware.org/git/glibc.git synced 2025-03-31 14:01:18 +08:00

Fix make_message example.

This commit is contained in:
Ulrich Drepper 2006-02-04 07:12:54 +00:00
parent 0fdd44dcb4
commit 53631fa890

@ -2357,7 +2357,8 @@ make_message (char *name, char *value)
@{
/* @r{Reallocate buffer now that we know
how much space is needed.} */
buffer = (char *) xrealloc (buffer, nchars + 1);
size = nchars + 1;
buffer = (char *) xrealloc (buffer, size);
if (buffer != NULL)
/* @r{Try again.} */