tests: Fix test.

--
Signed-off-by: Justus Winter <justus@gnupg.org>
This commit is contained in:
Justus Winter 2016-05-27 15:27:55 +02:00
parent 2ae847c027
commit e3dfd0a5ed

View File

@ -87,7 +87,7 @@ main (int argc, char *argv[])
{
fprintf (stderr, "%s:%i: Unexpected result file name: %s\n",
__FILE__, __LINE__,
result->file_name ? "(null)" : result->file_name);
result->file_name ? result->file_name : "(null)");
exit (1);
}