Permalink
Browse files

Adding intializer for opaque, gcc not c99 standards compliant.

  • Loading branch information...
1 parent 40d300d commit 5d4b42169925e7469ef97588f4c9fc227c2816ea @ingenthr committed Jul 19, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 libmemc.c
View
@@ -434,7 +434,8 @@ static int binary_get(struct Server* server, struct Item* item)
.keylen = htons(keylen),
.datatype = PROTOCOL_BINARY_RAW_BYTES,
.vbucket = get_vbucket(item->key, keylen),
- .bodylen = htonl(bodylen)
+ .bodylen = htonl(bodylen),
+ .opaque = 0
}
};

0 comments on commit 5d4b421

Please sign in to comment.