]> gitweb.ps.run Git - ps-cgit/commit
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)
commitdd7c172542440170b5b1aca8be43d2ad6dae7227
treed991f45be79cec1d3d031bac70413146f593a018
parentaf2e75616d1bfb7dc79d299d10ae0bd39bef47bc
cache.c: fix error checking in print_slot()

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>
cache.c