Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion version.c
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ DLL_EXPORT int get_buildinfo_strings(const char*** pppszBldInfoStr)
static void display_str( FILE* f, int httpfd, const char* str )
{
if (f != stdout)
if (httpfd)
if (httpfd >= 0)
hprintf( httpfd, "%s\n", str );
else
fprintf( f, "%s\n", str );
Expand Down