Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug introduced from last merge.

  • Loading branch information...
commit a476c7bd24c7f66c32219d0517ea297f201c4894 1 parent 3c935aa
@wickman wickman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/zookeeper_c.c
View
2  ext/zookeeper_c.c
@@ -242,7 +242,7 @@ static VALUE method_get(VALUE self, VALUE reqid, VALUE path, VALUE async, VALUE
/* ugh */
char * data = malloc(MAX_ZNODE_SIZE);
- int data_len = sizeof(data);
+ int data_len = MAX_ZNODE_SIZE;
struct Stat stat;
int rc;
Please sign in to comment.
Something went wrong with that request. Please try again.