]> gitweb.ps.run Git - ps-cgit/commitdiff
cache.c: fix error checking in print_slot()
authorLars Hjemli <hjemli@gmail.com>
Tue, 20 May 2008 15:56:47 +0000 (17:56 +0200)
committerLars Hjemli <hjemli@gmail.com>
Tue, 20 May 2008 15:56:47 +0000 (17:56 +0200)
The change to print_slot() in cdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8 made
the function return correct errno for read errors while ignoring write errors,
which is not what was intended. This patch tries to rectify things.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

No differences found