diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-12 18:58:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-13 07:55:40 +0200 |
commit | 12be9e818f01777283d49c8e37f618e4e9731371 (patch) | |
tree | 6c38a9de093c0d2d86e5e741050613e9b086d810 /src/text_file.c | |
parent | 281cd7c05728dcc7a6d6b4aa9a69a02dcdefca5c (diff) | |
download | mpd-12be9e818f01777283d49c8e37f618e4e9731371.tar.gz mpd-12be9e818f01777283d49c8e37f618e4e9731371.tar.xz mpd-12be9e818f01777283d49c8e37f618e4e9731371.zip |
client_file: remove pure attribute from client_allow_file().
That function is not pure, it writes to error.
When marked as pure, the compiler is allowed to assume it does not do
anything to error, so it can remain NULL, which would result in an
invalid read in print_error().
Diffstat (limited to 'src/text_file.c')
0 files changed, 0 insertions, 0 deletions