aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_notify.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:10 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:10 +0200
commita3cc928c711f78366eba0a009115ffa0982102ff (patch)
tree748064d0c09ff81e33f49e4cc627b9bc837fdafa /src/main_notify.c
parent35858dfe3a2bac326f91e558cbdc31d05c47615e (diff)
downloadmpd-a3cc928c711f78366eba0a009115ffa0982102ff.tar.gz
mpd-a3cc928c711f78366eba0a009115ffa0982102ff.tar.xz
mpd-a3cc928c711f78366eba0a009115ffa0982102ff.zip
aac: use inputStreamAtEOF()
When checking for EOF, we should not check whether the read request has been fully satisified. The InputStream API does not guarantee that readFromInputStream() always fills the whole buffer, if EOF is not reached. Since there is the function inputStreamAtEOF() dedicated for this purpose, we should use it for EOF checking after readFromInputStream()==0.
Diffstat (limited to 'src/main_notify.c')
0 files changed, 0 insertions, 0 deletions