array-indexing error in error message discovered by stm.

This commit is contained in:
Enno Rehling 2011-02-15 23:31:22 -08:00
parent 42c5331f1b
commit 8f327f7165
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}