Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use a generic name when timidity is loading files from memory.
  • Loading branch information
slouken committed Jan 1, 2012
1 parent 38788d0 commit bbac4ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions timidity/common.c
Expand Up @@ -172,6 +172,8 @@ void close_file(FILE *fp)
if (pclose(fp)) /* Any better ideas? */
#endif
fclose(fp);

strncpy(current_filename, "MIDI file", PATH_MAX - 1);
}

/* This is meant for skipping a few bytes in a file or fifo. */
Expand Down

0 comments on commit bbac4ea

Please sign in to comment.