Skip to content

Commit

Permalink
fix major off by one issue
Browse files Browse the repository at this point in the history
none of my machines could repro a crash, but it's definitely wrong :/ Very
sad.
  • Loading branch information
dormando committed Apr 24, 2015
1 parent b43ecd6 commit 369845f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memcached.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

/* Slab sizing definitions. */
#define POWER_SMALLEST 1
#define POWER_LARGEST 255
#define POWER_LARGEST 256 /* actual cap is 255 */
#define CHUNK_ALIGN_BYTES 8
/* slab class max is a 6-bit number, -1. */
#define MAX_NUMBER_OF_SLAB_CLASSES (63 + 1)
Expand Down

0 comments on commit 369845f

Please sign in to comment.