Permalink
Browse files

Fix typo.

  • Loading branch information...
1 parent fdc7a91 commit b839ad04553b6f35924b35f6c75bc87084e49985 @delamonpansie delamonpansie committed Jun 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/silverbox/box.c
View
@@ -771,15 +771,15 @@ box_req_sprint(struct tbuf *buf, u32 op, struct tbuf *req)
flags = read_u32(req);
cardinality = read_u32(req);
if (req->len != valid_tuple(req, cardinality))
+ raise(ERR_CODE_UNKNOWN_ERROR, "buffer too short");
tuple_print(buf, cardinality, req->data);
- abort();
break;
case DELETE:
key_len = read_u32(req);
key = read_field(req);
if (req->len != 0)
- abort();
+ raise(ERR_CODE_UNKNOWN_ERROR, "buffer too short");
tuple_print(buf, key_len, key);
break;

0 comments on commit b839ad0

Please sign in to comment.