From 8f327f716567d5dc3839907162a1ae00b68e5ed6 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 15 Feb 2011 23:31:22 -0800 Subject: [PATCH] array-indexing error in error message discovered by stm. --- src/bindings/bind_attrib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/bind_attrib.c b/src/bindings/bind_attrib.c index 3c8ac1487..f1688750d 100644 --- a/src/bindings/bind_attrib.c +++ b/src/bindings/bind_attrib.c @@ -244,7 +244,7 @@ read_ext_i(lua_State * L, bson_iterator * it, bson_type type) else lua_pushnil(L); } else { - log_error(("unknown oid %d %d %d\n", oid->ints[0], oid->ints[3], oid->ints[2])); + log_error(("unknown oid %d %d %d\n", oid->ints[0], oid->ints[1], oid->ints[2])); lua_pushnil(L); } }