Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Chunk server: replace assertion with die().

  • Loading branch information...
commit 57beaeb6bb598b9e6ccec543ca1e3cf8ac5daa57 1 parent 50fa2be
@mikeov mikeov authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/cc/chunk/ClientSM.cc
View
4 src/cc/chunk/ClientSM.cc
@@ -256,8 +256,8 @@ ClientSM::HandleRequest(int code, void* data)
case EVENT_CMD_DONE: {
// An op finished execution. Send response back in FIFO
- assert(data);
- if (!data) {
+ if (! data) {
+ die("invalid null op completion");
return -1;
}
KfsOp* op = reinterpret_cast<KfsOp*>(data);
Please sign in to comment.
Something went wrong with that request. Please try again.