1 parent d80f71b commit a4e9b96Copy full SHA for a4e9b96
1 file changed
src/memcached.c
@@ -514,7 +514,7 @@ static int mencode (lua_State *L) {
514
luaL_checkany(L, 1);
515
516
/* prepare backrefs */
517
- memset(&br, 0, sizeof(backref_t));
+ br.cnt = 0;
518
lua_newtable(L);
519
br.index = lua_gettop(L);
520
@@ -556,7 +556,7 @@ static int mdecode (lua_State *L) {
556
b->pos = 0;
557
558
559
560
561
562
0 commit comments