Permalink
Browse files

Fix bug introduced from last merge.

  • Loading branch information...
1 parent 3c935aa commit a476c7bd24c7f66c32219d0517ea297f201c4894 @wickman wickman committed Jun 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/zookeeper_c.c
View
@@ -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;

0 comments on commit a476c7b

Please sign in to comment.