Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo.

  • Loading branch information...
commit b839ad04553b6f35924b35f6c75bc87084e49985 1 parent fdc7a91
@delamonpansie delamonpansie authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/silverbox/box.c
View
4 mod/silverbox/box.c
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.