diff options
author | Max Kellermann <max@duempel.org> | 2008-09-12 16:42:14 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-12 16:42:14 +0200 |
commit | 89c8b19a8c4a21e8ce578bd92120581f640fc2af (patch) | |
tree | 7efafbe096ca76cb1c0cd520bd932fc4a578b31f /src/state_file.h | |
parent | 42f617719995382bb417a18c33db4b8d3128113c (diff) | |
download | mpd-89c8b19a8c4a21e8ce578bd92120581f640fc2af.tar.gz mpd-89c8b19a8c4a21e8ce578bd92120581f640fc2af.tar.xz mpd-89c8b19a8c4a21e8ce578bd92120581f640fc2af.zip |
shout: don't write empty buffers
Add a check to write_page() which checks if there is actually data.
Don't bother to call shout_send() if there is not.
Diffstat (limited to 'src/state_file.h')
0 files changed, 0 insertions, 0 deletions