1
1

One less dynamically alllocated array. We can just use vfprint.

This commit was SVN r8239.
Этот коммит содержится в:
George Bosilca 2005-11-22 21:53:39 +00:00
родитель 58ba8f033d
Коммит 05a5fb4b05

Просмотреть файл

@ -248,7 +248,7 @@ static int output(bool want_error_header, char **lines,
{
int i, count;
size_t len;
char *concat, *formatted;
char *concat;
/* See how much space we need */
@ -290,16 +290,10 @@ static int output(bool want_error_header, char **lines,
}
/* Apply formatting */
vasprintf(&formatted, concat, arglist);
/* Print it out */
fprintf(stderr, formatted);
vfprintf( stderr, concat, arglist );
/* All done */
free(formatted);
free(concat);
return OMPI_SUCCESS;
}