Skip to content

Commit

Permalink
Fix tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Mar 18, 2014
1 parent 51800e0 commit 3fc0569
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/nix-daemon/nix-daemon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -294,14 +294,14 @@ static void performOp(bool trusted, unsigned int clientVersion,
#endif

case wopIsValidPath: {
/* 'readStorePath' could raise an error leading to the connection
being closed. To be able to recover from an invalid path error,
call 'startWork' early, and do 'assertStorePath' afterwards so
that the 'Error' exception handler doesn't close the
connection. */
/* 'readStorePath' could raise an error leading to the connection
being closed. To be able to recover from an invalid path error,
call 'startWork' early, and do 'assertStorePath' afterwards so
that the 'Error' exception handler doesn't close the
connection. */
Path path = readString(from);
startWork();
assertStorePath(path);
assertStorePath(path);
bool result = store->isValidPath(path);
stopWork();
writeInt(result, to);
Expand Down

0 comments on commit 3fc0569

Please sign in to comment.