diff options
Diffstat (limited to 'src/VLCInput.cpp')
-rw-r--r-- | src/VLCInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp index 82d1d14..d7b691f 100644 --- a/src/VLCInput.cpp +++ b/src/VLCInput.cpp @@ -239,7 +239,7 @@ ssize_t VLCInput::read(uint8_t* buf, size_t length) void VLCInput::write_icy_text(const std::string& filename) const { FILE* fd = fopen(filename.c_str(), "wb"); - fprintf(fd, "%s", m_nowplaying.c_str()); + fputs_unlocked(m_nowplaying.c_str(), fd); fclose(fd); } |